MCPcopy Create free account
hub / github.com/aclysma/profiling / function_scope_function

Function function_scope_function

profiling/examples/simple.rs:35–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33}
34
35fn function_scope_function() {
36 profiling::function_scope!();
37 burn_time(10);
38}
39
40fn function_scope_function_with_data(_iteration_index: usize) {
41 profiling::function_scope!(_iteration_index.to_string().as_str());

Callers 1

mainFunction · 0.85

Calls 1

burn_timeFunction · 0.70

Tested by

no test coverage detected