Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 50530c81 authored by Brian Carlstrom's avatar Brian Carlstrom Committed by Android (Google) Code Review
Browse files

Merge "Change SamplingProfiler to use a sampling interval instead of Hz"

parents 23493ac1 504d5e0d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -82,8 +82,8 @@ public class SamplingProfilerIntegration {
        }
        ThreadGroup group = Thread.currentThread().getThreadGroup();
        SamplingProfiler.ThreadSet threadSet = SamplingProfiler.newThreadGroupTheadSet(group);
        INSTANCE = new SamplingProfiler(4, threadSet);
        INSTANCE.start(samplingProfilerHz);
        INSTANCE = new SamplingProfiler(4, threadSet); // TODO parameter for depth
        INSTANCE.start(1000/samplingProfilerHz);
    }

    /**