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

Function trace_log_i32

src/framework/debug/trace.cpp:271–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269 << " samples=" << sample_points_f32(values);
270 log_message(output.str());
271}
272
273void trace_log_i32(const std::string & name, const std::vector<int64_t> & dims, const std::vector<int32_t> & values) {
274 if (!trace_log_enabled()) {
275 return;
276 }
277 std::ostringstream output;
278 output << "[TRACE ts=" << timestamp_seconds_local() << "] " << name
279 << " shape=" << format_dims(dims)
280 << " size=" << values.size()
281 << " samples=" << sample_points_i32(values);
282 log_message(output.str());
283}
284

Callers

nothing calls this directly

Calls 7

trace_log_enabledFunction · 0.85
format_dimsFunction · 0.85
sample_points_i32Function · 0.85
log_messageFunction · 0.85
strMethod · 0.80
timestamp_seconds_localFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected