Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codr7/hacktical-c
/ malloc2_benchmarks
Function
malloc2_benchmarks
malloc2/benchmarks.c:51–62 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
49
}
50
51
void malloc2_benchmarks() {
52
const int s = time(NULL);
53
54
srand(s);
55
run_malloc();
56
57
srand(s);
58
run_bump();
59
60
srand(s);
61
run_slab();
62
}
Callers
1
main
Function · 0.85
Calls
3
run_malloc
Function · 0.85
run_bump
Function · 0.85
run_slab
Function · 0.85
Tested by
no test coverage detected