MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / main

Function main

crates/memtrack/testdata/nested_operator_new.cpp:43–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43int main(int argc, char** argv) {
44 if (argc < 2) {
45 return 2;
46 }
47
48 for (int i = 0; i < 16; ++i) {
49 allocate();
50 }
51
52 FILE* out = std::fopen(argv[1], "w");
53 if (!out) {
54 return 1;
55 }
56 std::fprintf(out, "%lx\n", uprobes_mapping_start());
57 std::fclose(out);
58 return 0;
59}

Callers

nothing calls this directly

Calls 2

uprobes_mapping_startFunction · 0.85
allocateFunction · 0.70

Tested by

no test coverage detected