/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ |
D | Stopwatch.java | 75 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/ |
D | Stopwatch.java | 76 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/ |
D | Stopwatch.java | 79 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/ |
D | test_utils.cc | 57 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()
|
D | test_utils.h | 39 class Stopwatch { 41 Stopwatch(); 42 ~Stopwatch(); 52 DISALLOW_COPY_AND_ASSIGN(Stopwatch);
|
/external/mockito/src/test/java/org/mockitoutil/ |
D | Stopwatch.java | 18 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/ |
D | StopwatchTest.java | 37 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/ |
D | StopwatchBenchmark.java | 20 import com.google.common.base.Stopwatch; 35 Stopwatch s = Stopwatch.createStarted(); in stopwatch()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | FakeClock.java | 19 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/ |
D | StopwatchTest.java | 38 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/ |
D | AsyncTestingTest.java | 9 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/ |
D | GrpcCleanupRule.java | 23 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/ |
D | Rescheduler.java | 20 import com.google.common.base.Stopwatch; 37 private final Stopwatch stopwatch; 46 Stopwatch stopwatch) { in Rescheduler()
|
D | Http2Ping.java | 19 import com.google.common.base.Stopwatch; 48 private final Stopwatch stopwatch; 81 public Http2Ping(long data, Stopwatch stopwatch) { in Http2Ping()
|
D | DnsNameResolverProvider.java | 20 import com.google.common.base.Stopwatch; 57 Stopwatch.createUnstarted()); in newNameResolver()
|
D | CensusStatsModule.java | 24 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/ |
D | VerificationWithAfterAndCaptorTest.java | 16 import org.mockitoutil.Stopwatch; 24 import static org.mockitoutil.Stopwatch.createNotStarted; 34 private Stopwatch watch = createNotStarted();
|
D | VerificationWithTimeoutTest.java | 19 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/ |
D | MacrobenchmarkWorker.java | 29 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/ |
D | Stopwatch.java | 26 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/ |
D | ServiceManager.java | 37 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()
|
D | RateLimiter.java | 27 import com.google.common.base.Stopwatch; 414 final Stopwatch stopwatch = Stopwatch.createStarted(); in createFromSystemTimer()
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
D | TrialRunLoop.java | 28 import com.google.common.base.Stopwatch; 60 private final Stopwatch trialStopwatch = Stopwatch.createUnstarted();
|
D | ConsoleOutput.java | 27 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/ |
D | ClientRunners.cs | 211 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()
|