Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.40K
To whoever is using the following code for timing code execution in C Originally Posted by [[B]B]vijayan121 [/B][/B] [code=c] #include<time.h> blah blah main() { clock_t start, end; double cpu_time_used; start = clock(); /* whatever */ end = clock(); cpu_time_used = ((double) (end - start)) / CLOCKS_PER_SEC; } [/code] if you … |