MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / timing_log_scalar

Function timing_log_scalar

src/framework/debug/trace.cpp:320–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318}
319
320void timing_log_scalar(const std::string & name, std::string_view value) {
321 if (!timing_log_enabled()) {
322 return;
323 }
324 std::ostringstream output;
325 output << "[TIMING ts=" << timestamp_seconds_local() << "] " << name << " " << value;
326 log_message(output.str());
327}
328
329void timing_log_scalar(const std::string & name, double value) {
330 if (!timing_log_enabled()) {

Callers 15

encode_layersMethod · 0.50
ensure_graphMethod · 0.50
GraphMethod · 0.50
runMethod · 0.50
compute_titanet_featuresFunction · 0.50
classify_embeddingFunction · 0.50
classify_runtime_audioFunction · 0.50
GraphMethod · 0.50
computeMethod · 0.50
classify_embeddingFunction · 0.50
classify_runtime_audioFunction · 0.50

Calls 6

timing_log_enabledFunction · 0.85
log_messageFunction · 0.85
format_scalar_doubleFunction · 0.85
strMethod · 0.80
timestamp_seconds_localFunction · 0.70
to_stringFunction · 0.70

Tested by

no test coverage detected