Searched refs:ThreadSet (Results 1 - 2 of 2) sorted by relevance

/libcore/dalvik/src/main/java/dalvik/system/profiler/
H A DSamplingProfiler.java44 * ThreadSet threadSet = SamplingProfiler.newArrayThreadSet(Thread.currentThread());
89 * The {@code ThreadSet} that identifies which threads to sample.
91 private final ThreadSet threadSet;
149 * should be sample with a ThreadSet such as provided by {@link
155 public SamplingProfiler(int depth, ThreadSet threadSet) {
177 * A ThreadSet specifies the set of threads to sample.
179 public static interface ThreadSet { interface in class:SamplingProfiler
189 * Returns a ThreadSet for a fixed set of threads that will not
195 public static ThreadSet newArrayThreadSet(Thread... threads) {
203 private static class ArrayThreadSet implements ThreadSet {
[all...]
/libcore/dalvik/src/test/java/dalvik/system/profiler/
H A DSamplingProfilerTest.java26 import dalvik.system.profiler.SamplingProfiler.ThreadSet;
52 ThreadSet threadSet = SamplingProfiler.newArrayThreadSet(Thread.currentThread());

Completed in 164 milliseconds