| 219 | } |
| 220 | |
| 221 | static uint64_t extract_now_ns(void) { |
| 222 | struct timespec ts; |
| 223 | cbm_clock_gettime(CLOCK_MONOTONIC, &ts); |
| 224 | return ((uint64_t)ts.tv_sec * PP_NSEC_PER_SEC) + (uint64_t)ts.tv_nsec; |
| 225 | } |
| 226 | |
| 227 | /* ── Helpers (duplicated from pass files — kept static for isolation) ── */ |
| 228 |
no test coverage detected