Sign in

username:

password:



Not a member?

Search code-comp



Search tips

Subscribe to code-comp



code-comp by Keywords

ARM7 | BIOS | Bug | EVM | JTAG | Linker | LOG_printf | McBSP | Profiling | Relocation | RTDX | Simulator | Target | Watch

Discussion Groups

Discussion Groups | Code-Composer | CLK_gethtime(),CLK_getltime()

Technical discussions about Code Composer Studio.

  

Post a new Thread

CLK_gethtime(),CLK_getltime() - Author Unknown - Feb 22 10:02:00 2005




Hi all,
I\'m trying to instrument my code to determine execution times,
However i\'m having problems with CLK_gethtime(),CLK_getltime(). I\'m working with a C6713 board and CCS 3.
Basically, what i\'m doing is :
start=CLK_gethtime();
// my code ....
stop=CLK_gethtime();
time=stop-start;
I\'m always getting zero regardless of the time my code takes to
execute and the values of the period register ...
going into more detail i\'ve found out that when I use CLK_gethtime
() i get the same value and when i use CLK_getltime() i always get
zero.
I cannot use CCS profiling tools as I have to automate this instrumentation in many programs.

If someone has experience with instrumenting/benchmarking the code
I will very much appreciate any help.

Kind regards,
Edwin





(You need to be a member of code-comp -- send a blank email to code-comp-subscribe@yahoogroups.com )