Possible Duplicate:
How can I get the execution time of a program in milliseconds in C?
Calculating time of execution with time() function
I tried clock()
in time.h
but it always gives me 0.0000
seconds ie 0 seconds as output. Is there any way to get execution time in micro or Milli seconds or in any other smaller units?