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

This commit is contained in:
Brian Carlstrom
2010-11-01 10:47:45 -07:00
committed by Android (Google) Code Review

View File

@@ -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);
}
/**