@Test public void testInitialState() throws Exception { SparseTimeStat stat = new SparseTimeStat(); stat.add(1, NANOSECONDS); assertPreviousDistributionEmpty(stat); }
public void add(long value, TimeUnit timeUnit) { add(timeUnit.toNanos(value)); }
SparseTimeStat extends Bucketed<SparseTimeStat.Distribution> { public void add(long value, TimeUnit timeUnit) { add(timeUnit.toNanos(value)); } }
SparseTimeStat extends Bucketed<SparseTimeStat.Distribution> { public void add(long value, TimeUnit timeUnit) { add(timeUnit.toNanos(value)); } SparseTimeStat();  SparseTimeStat(Ticker ticker); }
SparseTimeStat extends Bucketed<SparseTimeStat.Distribution> { public void add(long value, TimeUnit timeUnit) { add(timeUnit.toNanos(value)); } SparseTimeStat();  SparseTimeStat(Ticker ticker); void add(long value, TimeUnit timeUnit); void add(double value, TimeUnit timeUnit); void add(Duration duration); T time(Callable<T> callable); BlockTimer time(); }
SparseTimeStat extends Bucketed<SparseTimeStat.Distribution> { public void add(long value, TimeUnit timeUnit) { add(timeUnit.toNanos(value)); } SparseTimeStat();  SparseTimeStat(Ticker ticker); void add(long value, TimeUnit timeUnit); void add(double value, TimeUnit timeUnit); void add(Duration duration); T time(Callable<T> callable); BlockTimer time();  }