pctimer.h File Reference
Detailed Description
Function to get a high-resolution timer for Win32/Cygwin/Unix.
- Version:
- 1.6, 2004/08/02
- Author:
- Wu Yongwei
Definition in file pctimer.h.
#include <sys/time.h>
Go to the source code of this file.
Typedef Documentation
Function Documentation
Definition at line 78 of file pctimer.h.
00079 {
00080 struct timeval __tv;
00081 gettimeofday(&__tv, NULL);
00082 return (double)__tv.tv_sec + (double)__tv.tv_usec / 1000000;
00083 }