| 64 | } |
| 65 | |
| 66 | inline double seconds() |
| 67 | { |
| 68 | struct timeval tp; |
| 69 | struct timezone tzp; |
| 70 | int i = gettimeofday(&tp, &tzp); |
| 71 | return ((double)tp.tv_sec + (double)tp.tv_usec * 1.e-6); |
| 72 | } |
| 73 | |
| 74 | #endif // _COMMON_H |
nothing calls this directly
no test coverage detected