MCPcopy Create free account
hub / github.com/Compaile/ctrack / level_3_function

Function level_3_function

benchmark/ctrack_benchmark.cpp:95–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95void level_3_function(int depth)
96{
97 CTRACK_NAME("level_3_function");
98 // Busy wait for 500 ns
99 busy_wait_ns(500);
100
101 // Call leaf function twice
102 leaf_function(depth + 1);
103 leaf_function(depth + 1);
104}
105
106void level_2_function(int depth, int iterations)
107{

Callers 1

level_2_functionFunction · 0.85

Calls 2

busy_wait_nsFunction · 0.85
leaf_functionFunction · 0.85

Tested by

no test coverage detected