| 76 | }; |
| 77 | |
| 78 | double |
| 79 | gettimeofday_double() |
| 80 | { |
| 81 | struct timeval tv = { }; |
| 82 | if (gettimeofday(&tv, 0) != 0) { |
| 83 | fatal_abort("gettimeofday"); |
| 84 | } |
| 85 | return static_cast<double>(tv.tv_usec) / 1000000 + tv.tv_sec; |
| 86 | } |
| 87 | |
| 88 | struct record_value { |
| 89 | mutex lock; |
nothing calls this directly
no test coverage detected