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

Function now_ms

tests/test_incremental.c:50–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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