cbm_get_profile returns accumulated parse/extract times and file count.
| 87 | |
| 88 | // cbm_get_profile returns accumulated parse/extract times and file count. |
| 89 | void 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 | |
| 95 | uint64_t cbm_get_lsp_ns(void) { |
| 96 | return atomic_load(&total_lsp_ns); |
nothing calls this directly
no outgoing calls
no test coverage detected