MCPcopy Create free account
hub / github.com/async-profiler/async-profiler / startProfiler

Function startProfiler

test/test/nonjava/non_java_app.cpp:69–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69void startProfiler() {
70 asprof_error_t err = _asprof_execute("start,event=cpu,interval=1ms,cstack=vmx", outputCallback);
71 if (err != NULL) {
72 std::cerr << _asprof_error_str(err) << std::endl;
73 exit(1);
74 }
75}
76
77void stopProfiler(char* output_file) {
78 char cmd[4096];

Callers 5

testFlow1Function · 0.85
testFlow2Function · 0.85
testFlow3Function · 0.85
testFlow4Function · 0.85
LateInitializerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected