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

Function stopProfiler

test/test/nonjava/non_java_app.cpp:77–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77void stopProfiler(char* output_file) {
78 char cmd[4096];
79 snprintf(cmd, sizeof(cmd), "stop,file=%s", output_file);
80 asprof_error_t err = _asprof_execute(cmd, outputCallback);
81 if (err != NULL) {
82 std::cerr << _asprof_error_str(err) << std::endl;
83 exit(1);
84 }
85}
86
87void loadJvmLib() {
88 char* java_home = getenv("TEST_JAVA_HOME");

Callers 4

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

Calls

no outgoing calls

Tested by

no test coverage detected