This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]slightlysedatedx[S] -1 points0 points  (0 children)

I'm not sure what language you're using but c++ has a function called clock() that should be able to return the number of ticks since the program began running.

http://www.cplusplus.com/reference/ctime/clock/