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

Function level_2_function

benchmark/ctrack_benchmark.cpp:106–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106void level_2_function(int depth, int iterations)
107{
108 CTRACK_NAME("level_2_function");
109 // Busy wait for 300 ns
110 busy_wait_ns(300);
111
112 for (int i = 0; i < iterations; ++i)
113 {
114 level_3_function(depth + 1);
115 }
116}
117
118void level_1_function(int iterations)
119{

Callers 1

level_1_functionFunction · 0.85

Calls 2

busy_wait_nsFunction · 0.85
level_3_functionFunction · 0.85

Tested by

no test coverage detected