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

Function now_ms

tests/test_incremental.c:51–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49/* ── Helpers ──────────────────────────────────────────────────────── */
50
51static double now_ms(void) {
52 struct timespec ts;
53 cbm_clock_gettime(CLOCK_MONOTONIC, &ts);
54 return (double)ts.tv_sec * 1000.0 + (double)ts.tv_nsec / 1e6;
55}
56
57static void write_file_at(const char *rel_path, const char *content) {
58 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