return current tick time in seconds
| 28 | #if 0 |
| 29 | // return current tick time in seconds |
| 30 | double monotonic_seconds() |
| 31 | { |
| 32 | static struct timeval t1; |
| 33 | gettimeofday(&t1, NULL); |
| 34 | return t1.tv_sec + t1.tv_usec / 1e6; |
| 35 | } |
| 36 | |
| 37 | #else |
| 38 |
no test coverage detected