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

Function Java_one_profiler_AsyncProfiler_getSamples

src/javaApi.cpp:129–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129extern "C" DLLEXPORT jlong JNICALL
130Java_one_profiler_AsyncProfiler_getSamples(JNIEnv* env, jobject unused) {
131 return (jlong)Profiler::instance()->total_samples();
132}
133
134extern "C" DLLEXPORT void JNICALL
135Java_one_profiler_AsyncProfiler_filterThread0(JNIEnv* env, jobject unused, jthread thread, jboolean enable) {

Callers

nothing calls this directly

Calls 1

total_samplesMethod · 0.80

Tested by

no test coverage detected