Merge "Change SamplingProfiler to use a sampling interval instead of Hz"
This commit is contained in:
committed by
Android (Google) Code Review
commit
50530c8176
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user