| 30 | |
| 31 | private: |
| 32 | inline double get_walltime() |
| 33 | { |
| 34 | struct timespec ts; |
| 35 | |
| 36 | clock_gettime(CLOCK_REALTIME, &ts); |
| 37 | return static_cast<double>(ts.tv_sec) + |
| 38 | static_cast<double>(ts.tv_nsec) * 1.0e-9; |
| 39 | } |
| 40 | |
| 41 | private: |
| 42 | double init_time_; |
nothing calls this directly
no outgoing calls
no test coverage detected