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

Function diagnostics_wait_ms

tests/test_diagnostics.c:36–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34} diagnostics_paths_t;
35
36static void diagnostics_wait_ms(unsigned int milliseconds) {
37 struct timespec delay = {
38 .tv_sec = (time_t)(milliseconds / 1000U),
39 .tv_nsec = (long)((milliseconds % 1000U) * 1000000U),
40 };
41 (void)cbm_nanosleep(&delay, NULL);
42}
43
44#ifndef _WIN32
45static bool diagnostics_file_equals(const char *path, const char *expected) {

Callers 2

test_diagnostics.cFile · 0.85

Calls 1

cbm_nanosleepFunction · 0.85

Tested by

no test coverage detected