Lines Matching defs:Sample
202 public static final class Sample {
207 private Sample(StackTrace stackTrace, int count) {
226 if (!(o instanceof Sample)) {
229 Sample s = (Sample) o;
234 return "Sample[count=" + count + " " + stackTrace + "]";
266 * Map of stack traces to a mutable sample count. The map is
268 * mutable access to the int[] cells that contain the sample
331 * Return a new set containing the current sample data.
333 public Set<Sample> getSamples() {
334 Set<Sample> samples = new HashSet<Sample>(stackTraces.size());
339 Sample sample = new Sample(stackTrace, count);
340 samples.add(sample);
379 * sample cound for the stack trace. The caller is allowed