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

Commit 504d5e0d authored by Brian Carlstrom's avatar Brian Carlstrom
Browse files

Change SamplingProfiler to use a sampling interval instead of Hz

Change-Id: I15654f1c080215575347559a16ba40e9630371ba
parent 614d22c7
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);
    }

    /**