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

Function ipc_now_ms

src/daemon/ipc.c:544–550  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

542}
543
544static uint64_t ipc_now_ms(void) {
545 struct timespec now;
546 if (clock_gettime(CLOCK_MONOTONIC, &now) != 0) {
547 return 0;
548 }
549 return (uint64_t)now.tv_sec * 1000U + (uint64_t)now.tv_nsec / 1000000U;
550}
551
552static uint64_t ipc_deadline_after(uint32_t timeout_ms) {
553 if (timeout_ms == CBM_DAEMON_IPC_WAIT_FOREVER) {

Calls

no outgoing calls

Tested by

no test coverage detected