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

Function Java_one_profiler_AsyncProfiler_stop0

src/javaApi.cpp:48–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48extern "C" DLLEXPORT void JNICALL
49Java_one_profiler_AsyncProfiler_stop0(JNIEnv* env, jobject unused) {
50 Error error = Profiler::instance()->stop();
51
52 if (error) {
53 throwNew(env, "java/lang/IllegalStateException", error.message());
54 }
55}
56
57extern "C" DLLEXPORT jstring JNICALL
58Java_one_profiler_AsyncProfiler_execute0(JNIEnv* env, jobject unused, jstring command) {

Callers

nothing calls this directly

Calls 3

throwNewFunction · 0.85
messageMethod · 0.80
stopMethod · 0.65

Tested by

no test coverage detected