| 66 | #endif |
| 67 | |
| 68 | static uint64_t now_ns(void) { |
| 69 | struct timespec ts; |
| 70 | cbm_clock_gettime(CBM_CLOCK_MONO, &ts); |
| 71 | return ((uint64_t)ts.tv_sec * NSEC_PER_SEC) + (uint64_t)ts.tv_nsec; |
| 72 | } |
| 73 | |
| 74 | // cbm_get_profile returns accumulated parse/extract times and file count. |
| 75 | void cbm_get_profile(cbm_profile_out_t out) { |
no test coverage detected