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

Function cx_now_s

tests/test_complexity.c:359–363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357} CxMetrics;
358
359static double cx_now_s(void) {
360 struct timespec ts;
361 cbm_profile_now(&ts);
362 return (double)ts.tv_sec + (double)ts.tv_nsec / 1e9;
363}
364
365static int cx_run(const char *root, const char *db_path, CxMetrics *out) {
366 memset(out, 0, sizeof(*out));

Callers 1

cx_runFunction · 0.85

Calls 1

cbm_profile_nowFunction · 0.85

Tested by

no test coverage detected