Skip to content

Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.

473 B
Raw Blame
/* Internal seams shared by platform implementations and focused tests. */
#ifndef CBM_PLATFORM_INTERNAL_H
#define CBM_PLATFORM_INTERNAL_H

#include <stdint.h>

/* Convert a monotonic counter to nanoseconds using its ticks-per-second
 * frequency. Kept outside the Windows guard so arithmetic edge cases can be
 * verified on every supported build host. */
uint64_t cbm_platform_scale_counter_ns(uint64_t counter, uint64_t frequency);

#endif /* CBM_PLATFORM_INTERNAL_H */