MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / cbm_now_ns

Function cbm_now_ns

src/foundation/platform.c:89–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89uint64_t cbm_now_ns(void) {
90 LARGE_INTEGER freq, count;
91 QueryPerformanceFrequency(&freq);
92 QueryPerformanceCounter(&count);
93 return (uint64_t)count.QuadPart * 1000000000ULL / (uint64_t)freq.QuadPart;
94}
95
96#define CBM_USEC_PER_SEC 1000000ULL
97

Callers 2

cbm_now_msFunction · 0.85
test_platform.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected