Jump to content
  • 0

Time measure SDSoC


RaulRB

Question

1 answer to this question

Recommended Posts

Hi RaulRB,

I personally haven't used SDSoC before, but from this link, it looks like as long as you have access to the the default libraries, sds_clock_counter() is what you're looking for.

Thinking along the lines of:

unsigned long long time_to_eval = sds_clock_counter()*2;
function_under_test();
time_to_eval = sds_clock_counter()*2 - time_to_eval;
print time_to_eval;

Assuming that the correct library has been included and you aren't in a linux environment.

 

Hope this helps,

Arthur

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...