| 48 | /* ── Helpers ──────────────────────────────────────────────────────── */ |
| 49 | |
| 50 | static double now_ms(void) { |
| 51 | struct timespec ts; |
| 52 | cbm_clock_gettime(CLOCK_MONOTONIC, &ts); |
| 53 | return (double)ts.tv_sec * 1000.0 + (double)ts.tv_nsec / 1e6; |
| 54 | } |
| 55 | |
| 56 | static void write_file_at(const char *rel_path, const char *content) { |
| 57 | char path[512]; |
no test coverage detected