Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Compaile/ctrack
/ recursive_work
Function
recursive_work
examples/complex_multithreaded_puzzle.cpp:18–23 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
16
}
17
18
int recursive_work(int n) {
19
CTRACK;
20
if (n <= 1) return 1;
21
sleepy_function(1);
22
return recursive_work(n - 1) + recursive_work(n - 2);
23
}
24
25
void nested_function_a(int depth) {
26
CTRACK;
Callers
1
complex_operation
Function · 0.85
Calls
1
sleepy_function
Function · 0.85
Tested by
no test coverage detected