Problem with time count in ms
I am using the clock() function to count the execution time of a function in ms (as the CLOCKS_PER_SEC is defined to be 1000).
Unfortunately, this scale of counting doesn't seem to be sensitive enough in my case,
as the running time of the function as counted by clock() is zero.
So i am wondering if there is a way to get a more accurate measurement.
I use the mingw compiler under Windows XP ( i wonder if there is a more accurate function defined in windows.h or something..)
Any help is appreciated..