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

Function now_ms

tests/test_incremental.c:52–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

index_repo_timedFunction · 0.70
call_tool_timedFunction · 0.70

Calls 1

cbm_clock_gettimeFunction · 0.85

Tested by

no test coverage detected