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

Function cbm_get_profile

internal/cbm/cbm.c:89–93  ·  view source on GitHub ↗

cbm_get_profile returns accumulated parse/extract times and file count.

Source from the content-addressed store, hash-verified

87
88// cbm_get_profile returns accumulated parse/extract times and file count.
89void cbm_get_profile(cbm_profile_out_t out) {
90 *out.parse_ns = atomic_load(&total_parse_ns);
91 *out.extract_ns = atomic_load(&total_extract_ns);
92 *out.files = atomic_load(&total_files);
93}
94
95uint64_t cbm_get_lsp_ns(void) {
96 return atomic_load(&total_lsp_ns);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected