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

Function trace_log_scalar

src/framework/debug/trace.cpp:283–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281}
282
283void trace_log_scalar(const std::string & name, std::string_view value) {
284 if (!trace_log_enabled()) {
285 return;
286 }
287 std::ostringstream output;
288 output << "[TRACE ts=" << timestamp_seconds_local() << "] " << name << " " << value;
289 log_message(output.str());
290}
291
292void trace_log_scalar(const std::string & name, double value) {
293 if (!trace_log_enabled()) {

Callers 15

trace_log_stateMethod · 0.50
log_model_load_traceFunction · 0.50
run_singleMethod · 0.50
encodeMethod · 0.50
embed_tokensMethod · 0.50
prepareMethod · 0.50
generate_latentsMethod · 0.50
generateMethod · 0.50
decodeMethod · 0.50
encodeMethod · 0.50

Calls 6

trace_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