C/C++ API for retrieving system time in micro or milliseconds
Is there any glibc or generic API which return micro or milliseconds in linux kernel 2.6 and above?
I used time_t , but it returns current time in seconds only... |
Try gettimeofday() in #include <sys/time.h>
|
All times are GMT -5. The time now is 07:34 AM. |