cbm_reset_profile zeros the profiling counters.
| 106 | |
| 107 | // cbm_reset_profile zeros the profiling counters. |
| 108 | void cbm_reset_profile(void) { |
| 109 | atomic_store(&total_parse_ns, 0); |
| 110 | atomic_store(&total_extract_ns, 0); |
| 111 | atomic_store(&total_lsp_ns, 0); |
| 112 | atomic_store(&total_preprocess_ns, 0); |
| 113 | atomic_store(&total_files_preprocessed, 0); |
| 114 | atomic_store(&total_files, 0); |
| 115 | } |
| 116 | |
| 117 | /* New facts use checked allocation and atomic publication; legacy extraction |
| 118 | * arrays retain their existing contracts. */ |
nothing calls this directly
no outgoing calls
no test coverage detected