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

Function now_ns

internal/cbm/cbm.c:68–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66#endif
67
68static 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.
75void cbm_get_profile(cbm_profile_out_t out) {

Callers 2

cbm_timeout_cbFunction · 0.70
cbm_extract_file_implFunction · 0.70

Calls 1

cbm_clock_gettimeFunction · 0.85

Tested by

no test coverage detected