Home
last modified time | relevance | path

Searched refs:Ticker (Results 1 – 25 of 31) sorted by relevance

12

/external/guava/guava/src/com/google/common/base/
DTicker.java36 public abstract class Ticker { class
40 protected Ticker() {} in Ticker() method in Ticker
53 public static Ticker systemTicker() { in systemTicker()
57 private static final Ticker SYSTEM_TICKER = new Ticker() {
DStopwatch.java77 private final Ticker ticker;
98 public static Stopwatch createUnstarted(Ticker ticker) { in createUnstarted()
118 public static Stopwatch createStarted(Ticker ticker) { in createStarted()
130 this(Ticker.systemTicker()); in Stopwatch()
140 Stopwatch(Ticker ticker) { in Stopwatch()
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
DStopwatch.java76 private final Ticker ticker;
97 public static Stopwatch createUnstarted(Ticker ticker) { in createUnstarted()
117 public static Stopwatch createStarted(Ticker ticker) { in createStarted()
129 this(Ticker.systemTicker()); in Stopwatch()
139 Stopwatch(Ticker ticker) { in Stopwatch()
/external/caliper/caliper/src/main/java/com/google/caliper/worker/
DRuntimeWorker.java29 import com.google.common.base.Ticker;
45 protected final Ticker ticker;
52 Method method, Random random, Ticker ticker, in RuntimeWorker()
105 @BenchmarkMethod Method method, Random random, Ticker ticker, in Micro()
131 @BenchmarkMethod Method method, Random random, Ticker ticker, in Pico()
DWorkerModule.java24 import com.google.common.base.Ticker;
120 static Ticker provideTicker() { in provideTicker()
121 return Ticker.systemTicker(); in provideTicker()
DMacrobenchmarkWorker.java30 import com.google.common.base.Ticker;
48 Ticker ticker, @WorkerOptions Map<String, String> workerOptions) { in MacrobenchmarkWorker()
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/
DCacheBuilder.java29 import com.google.common.base.Ticker;
200 static final Ticker NULL_TICKER = new Ticker() {
230 Ticker ticker;
455 public CacheBuilder<K, V> ticker(Ticker ticker) { in ticker()
461 Ticker getTicker(boolean recordsTime) { in getTicker()
465 return recordsTime ? Ticker.systemTicker() : NULL_TICKER; in getTicker()
DLocalCache.java24 import com.google.common.base.Ticker;
60 private final Ticker ticker;
81 this.ticker = firstNonNull(builder.ticker, Ticker.systemTicker()); in LocalCache()
305 private final Ticker ticker;
309 public Timestamped(V value, Ticker ticker) { in Timestamped()
/external/guava/guava/src/com/google/common/cache/
DCacheBuilder.java31 import com.google.common.base.Ticker;
206 static final Ticker NULL_TICKER = new Ticker() {
236 Ticker ticker;
700 public CacheBuilder<K, V> ticker(Ticker ticker) { in ticker()
706 Ticker getTicker(boolean recordsTime) { in getTicker()
710 return recordsTime ? Ticker.systemTicker() : NULL_TICKER; in getTicker()
DLocalCache.java33 import com.google.common.base.Ticker;
215 final Ticker ticker;
4573 final Ticker ticker;
4600 Ticker ticker, CacheLoader<? super K, V> loader) {
4611 this.ticker = (ticker == Ticker.systemTicker() || ticker == NULL_TICKER)
/external/guava/guava-testlib/src/com/google/common/testing/
DFakeTicker.java23 import com.google.common.base.Ticker;
41 public class FakeTicker extends Ticker {
DArbitraryInstances.java32 import com.google.common.base.Ticker;
215 .put(Ticker.class, Ticker.systemTicker())
DFreshValueGenerator.java28 import com.google.common.base.Ticker;
463 @Generates private Ticker freshTicker() {
464 return new Ticker() {
468 final String string = paramString(Ticker.class, freshInt());
/external/guava/guava-gwt/test-super/com/google/common/cache/super/com/google/common/cache/
DCacheBuilderTest.java27 import com.google.common.base.Ticker;
169 Ticker testTicker = Ticker.systemTicker(); in testTicker_setTwice()
/external/guava/guava/src/com/google/common/collect/
DMapMaker.java29 import com.google.common.base.Ticker;
130 Ticker ticker;
446 Ticker getTicker() { in getTicker()
447 return MoreObjects.firstNonNull(ticker, Ticker.systemTicker()); in getTicker()
DMapMakerInternalMap.java22 import com.google.common.base.Ticker;
190 final Ticker ticker;
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DNanoTimeGranularityTester.java23 import com.google.common.base.Ticker;
/external/guava/guava-tests/test/com/google/common/cache/
DCacheBuilderTest.java30 import com.google.common.base.Ticker;
345 Ticker testTicker = Ticker.systemTicker(); in testTicker_setTwice()
DLocalCacheTest.java35 import com.google.common.base.Ticker;
405 Ticker testTicker = new Ticker() { in testSetTicker()
2393 Ticker ticker = new SerializableTicker(); in testSerializationProxyLoading()
2449 Ticker ticker = new SerializableTicker(); in testSerializationProxyManual()
2787 private static class SerializableTicker extends Ticker implements Serializable {
/external/v8/src/
Dlog.h65 class Ticker; variable
378 Ticker* ticker_;
Dlog.cc677 class Ticker: public Sampler { class
679 Ticker(Isolate* isolate, int interval): in Ticker() function in v8::internal::Ticker
683 ~Ticker() { if (IsActive()) Stop(); } in ~Ticker()
1843 ticker_ = new Ticker(isolate, kSamplingIntervalMs); in SetUp()
/external/guava/guava-testlib/test/com/google/common/testing/
DArbitraryInstancesTest.java27 import com.google.common.base.Ticker;
229 assertNotNull(ArbitraryInstances.get(Ticker.class)); in testGet_misc()
DFreshValueGeneratorTest.java26 import com.google.common.base.Ticker;
142 TimeUnit.class, Ticker.class, in testFreshInstance()
/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java27 import com.google.common.base.Ticker;
91 assertSame(Ticker.systemTicker(), map.ticker); in testDefaults()
/external/owasp/sanitizer/distrib/lib/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...

12