Thread
:
insertion sort complexity ananlysis
View Single Post
Salem
Ambitious contributor
22Jan2008,16:44
Well the standard clock() function (see stdlib.h) can tell you to about 1 second accuracy how much CPU time has elapsed between two points in the code.
But if you want higher precision timers, you need to tell us which OS/Compiler you're using.