Home
last modified time | relevance | path

Searched refs:Stopwatch (Results 1 – 25 of 52) sorted by relevance

123

/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
DStopwatch.java75 public final class Stopwatch { class
87 public static Stopwatch createUnstarted() { in createUnstarted()
88 return new Stopwatch(); in createUnstarted()
97 public static Stopwatch createUnstarted(Ticker ticker) { in createUnstarted()
98 return new Stopwatch(ticker); in createUnstarted()
107 public static Stopwatch createStarted() { in createStarted()
108 return new Stopwatch().start(); in createStarted()
117 public static Stopwatch createStarted(Ticker ticker) { in createStarted()
118 return new Stopwatch(ticker).start(); in createStarted()
128 Stopwatch() { in Stopwatch() method in Stopwatch
[all …]
/external/guava/guava/src/com/google/common/base/
DStopwatch.java76 public final class Stopwatch { class
88 public static Stopwatch createUnstarted() { in createUnstarted()
89 return new Stopwatch(); in createUnstarted()
98 public static Stopwatch createUnstarted(Ticker ticker) { in createUnstarted()
99 return new Stopwatch(ticker); in createUnstarted()
108 public static Stopwatch createStarted() { in createStarted()
109 return new Stopwatch().start(); in createStarted()
118 public static Stopwatch createStarted(Ticker ticker) { in createStarted()
119 return new Stopwatch(ticker).start(); in createStarted()
129 Stopwatch() { in Stopwatch() method in Stopwatch
[all …]
/external/junit/src/main/java/org/junit/rules/
DStopwatch.java79 public abstract class Stopwatch implements TestRule { class
84 public Stopwatch() { in Stopwatch() method in Stopwatch
88 Stopwatch(Clock clock) { in Stopwatch() method in Stopwatch
154 Stopwatch.this.starting(); in starting()
158 Stopwatch.this.finished(getNanos(), description); in finished()
162 Stopwatch.this.stopping(); in succeeded()
163 Stopwatch.this.succeeded(getNanos(), description); in succeeded()
167 Stopwatch.this.stopping(); in failed()
168 Stopwatch.this.failed(getNanos(), e, description); in failed()
172 Stopwatch.this.stopping(); in skipped()
[all …]
/external/libchrome/mojo/core/
Dtest_utils.cc57 Stopwatch::Stopwatch() {} in Stopwatch() function in mojo::core::test::Stopwatch
59 Stopwatch::~Stopwatch() {} in ~Stopwatch()
61 void Stopwatch::Start() { in Start()
65 MojoDeadline Stopwatch::Elapsed() { in Elapsed()
Dtest_utils.h39 class Stopwatch {
41 Stopwatch();
42 ~Stopwatch();
52 DISALLOW_COPY_AND_ASSIGN(Stopwatch);
/external/mockito/src/test/java/org/mockitoutil/
DStopwatch.java18 public class Stopwatch { class
28 private Stopwatch() { in Stopwatch() method in Stopwatch
34 public static Stopwatch createNotStarted() { in createNotStarted()
35 return new Stopwatch(); in createNotStarted()
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DStopwatchTest.java37 private final Stopwatch stopwatch = new Stopwatch(ticker);
40 Stopwatch startedStopwatch = Stopwatch.createStarted(); in testCreateStarted()
45 Stopwatch unstartedStopwatch = Stopwatch.createUnstarted(); in testCreateUnstarted()
/external/guava/guava-tests/benchmark/com/google/common/base/
DStopwatchBenchmark.java20 import com.google.common.base.Stopwatch;
35 Stopwatch s = Stopwatch.createStarted(); in stopwatch()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DFakeClock.java19 import com.google.common.base.Stopwatch;
63 private final Supplier<Stopwatch> stopwatchSupplier =
64 new Supplier<Stopwatch>() {
65 @Override public Stopwatch get() {
66 return Stopwatch.createUnstarted(ticker);
200 public Supplier<Stopwatch> getStopwatchSupplier() { in getStopwatchSupplier()
/external/guava/guava-tests/test/com/google/common/base/
DStopwatchTest.java38 private final Stopwatch stopwatch = new Stopwatch(ticker);
41 Stopwatch startedStopwatch = Stopwatch.createStarted(); in testCreateStarted()
46 Stopwatch unstartedStopwatch = Stopwatch.createUnstarted(); in testCreateUnstarted()
/external/mockito/src/test/java/org/mockitoutil/async/
DAsyncTestingTest.java9 import org.mockitoutil.Stopwatch;
15 import static org.mockitoutil.Stopwatch.createNotStarted;
20 private Stopwatch watch = createNotStarted();
/external/grpc-grpc-java/testing/src/main/java/io/grpc/testing/
DGrpcCleanupRule.java23 import com.google.common.base.Stopwatch;
52 private Stopwatch stopwatch = Stopwatch.createUnstarted();
80 this.stopwatch = Stopwatch.createUnstarted(ticker); in setTicker()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DRescheduler.java20 import com.google.common.base.Stopwatch;
37 private final Stopwatch stopwatch;
46 Stopwatch stopwatch) { in Rescheduler()
DHttp2Ping.java19 import com.google.common.base.Stopwatch;
48 private final Stopwatch stopwatch;
81 public Http2Ping(long data, Stopwatch stopwatch) { in Http2Ping()
DDnsNameResolverProvider.java20 import com.google.common.base.Stopwatch;
57 Stopwatch.createUnstarted()); in newNameResolver()
DCensusStatsModule.java24 import com.google.common.base.Stopwatch;
75 private final Supplier<Stopwatch> stopwatchSupplier;
83 CensusStatsModule(Supplier<Stopwatch> stopwatchSupplier, boolean propagateTags) { in CensusStatsModule()
98 StatsRecorder statsRecorder, Supplier<Stopwatch> stopwatchSupplier, in CensusStatsModule()
313 private final Stopwatch stopwatch;
478 private final Stopwatch stopwatch;
491 Supplier<Stopwatch> stopwatchSupplier, in ServerTracer()
/external/mockito/src/test/java/org/mockitousage/verification/
DVerificationWithAfterAndCaptorTest.java16 import org.mockitoutil.Stopwatch;
24 import static org.mockitoutil.Stopwatch.createNotStarted;
34 private Stopwatch watch = createNotStarted();
DVerificationWithTimeoutTest.java19 import org.mockitoutil.Stopwatch;
28 import static org.mockitoutil.Stopwatch.createNotStarted;
34 private Stopwatch watch = createNotStarted();
/external/caliper/caliper/src/main/java/com/google/caliper/worker/
DMacrobenchmarkWorker.java29 import com.google.common.base.Stopwatch;
42 private final Stopwatch stopwatch;
50 this.stopwatch = Stopwatch.createUnstarted(ticker); in MacrobenchmarkWorker()
/external/guice/core/src/com/google/inject/internal/util/
DStopwatch.java26 public final class Stopwatch { class
27 private static final Logger logger = Logger.getLogger(Stopwatch.class.getName());
/external/guava/guava/src/com/google/common/util/concurrent/
DServiceManager.java37 import com.google.common.base.Stopwatch;
416 final Map<Service, Stopwatch> startupTimers = Maps.newIdentityHashMap();
483 Stopwatch stopwatch = startupTimers.get(service); in tryStartTiming()
485 startupTimers.put(service, Stopwatch.createStarted()); in tryStartTiming()
595 for (Entry<Service, Stopwatch> entry : startupTimers.entrySet()) { in startupTimes()
597 Stopwatch stopWatch = entry.getValue(); in startupTimes()
644 Stopwatch stopwatch = startupTimers.get(service); in transitionService()
647 stopwatch = Stopwatch.createStarted(); in transitionService()
DRateLimiter.java27 import com.google.common.base.Stopwatch;
414 final Stopwatch stopwatch = Stopwatch.createStarted(); in createFromSystemTimer()
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DTrialRunLoop.java28 import com.google.common.base.Stopwatch;
60 private final Stopwatch trialStopwatch = Stopwatch.createUnstarted();
DConsoleOutput.java27 import com.google.common.base.Stopwatch;
58 private final Stopwatch stopwatch;
61 ConsoleOutput(@Stdout PrintWriter stdout, int numberOfTrials, Stopwatch stopwatch) { in ConsoleOutput()
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DClientRunners.cs211 var stopwatch = new Stopwatch(); in RunUnary()
237 var stopwatch = new Stopwatch(); in RunUnaryAsync()
256 var stopwatch = new Stopwatch(); in RunStreamingPingPongAsync()
282 var stopwatch = new Stopwatch(); in RunGenericStreamingAsync()

123