MCPcopy 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
51void 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

mainFunction · 0.85

Calls 3

run_mallocFunction · 0.85
run_bumpFunction · 0.85
run_slabFunction · 0.85

Tested by

no test coverage detected