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

Method startProfiler

src/zInit.cpp:53–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 }
52
53 void startProfiler(const char* command) {
54 Error error = _global_args.parse(command);
55 _global_args._preloaded = true;
56
57 Log::open(_global_args);
58
59 if (error || (error = Profiler::instance()->run(_global_args))) {
60 Log::error("%s", error.message());
61 }
62 }
63};
64
65static LateInitializer _late_initializer;

Callers

nothing calls this directly

Calls 4

errorFunction · 0.85
messageMethod · 0.80
parseMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected