how would i go about doing the following:
[pseudocode]
get current time in nanoseconds
do a bunch of stuff
get current time in nanoseconds
return end time minus begin time
[/pseudocode]
do I use time.h and the clock() function? I was looking this up but wasn't sure what to use. what do you recommend?
Thanks.
[pseudocode]
get current time in nanoseconds
do a bunch of stuff
get current time in nanoseconds
return end time minus begin time
[/pseudocode]
do I use time.h and the clock() function? I was looking this up but wasn't sure what to use. what do you recommend?
Thanks.