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

Function diagnostics_wait_ms

tests/test_diagnostics.c:35–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33} diagnostics_paths_t;
34
35static void diagnostics_wait_ms(unsigned int milliseconds) {
36 struct timespec delay = {
37 .tv_sec = (time_t)(milliseconds / 1000U),
38 .tv_nsec = (long)((milliseconds % 1000U) * 1000000U),
39 };
40 (void)cbm_nanosleep(&delay, NULL);
41}
42
43#ifndef _WIN32
44static 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