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

Function elapsed_ms

tests/test_py_lsp_scale.c:11–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9#include <time.h>
10
11static double elapsed_ms(struct timespec t0, struct timespec t1) {
12 double s = (double)(t1.tv_sec - t0.tv_sec);
13 double ns = (double)(t1.tv_nsec - t0.tv_nsec);
14 return s * 1000.0 + ns / 1000000.0;
15}
16
17/* Build N synthetic class/call pairs into an arena-backed buffer. */
18static char *build_fixture(int n_classes, int *out_len) {

Callers 1

measureFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected