/external/guava/guava-tests/test/com/google/common/base/ |
D | StopwatchTest.java | 38 private final Stopwatch stopwatch = new Stopwatch(ticker); field in StopwatchTest 52 assertFalse(stopwatch.isRunning()); in testInitialState() 53 assertEquals(0, stopwatch.elapsed(NANOSECONDS)); in testInitialState() 57 assertSame(stopwatch, stopwatch.start()); in testStart() 58 assertTrue(stopwatch.isRunning()); in testStart() 62 stopwatch.start(); in testStart_whileRunning() 64 stopwatch.start(); in testStart_whileRunning() 68 assertTrue(stopwatch.isRunning()); in testStart_whileRunning() 72 stopwatch.start(); in testStop() 73 assertSame(stopwatch, stopwatch.stop()); in testStop() [all …]
|
/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); field in StopwatchTest 51 assertFalse(stopwatch.isRunning()); in testInitialState() 52 assertEquals(0, stopwatch.elapsed(NANOSECONDS)); in testInitialState() 56 assertSame(stopwatch, stopwatch.start()); in testStart() 57 assertTrue(stopwatch.isRunning()); in testStart() 61 stopwatch.start(); in testStart_whileRunning() 63 stopwatch.start(); in testStart_whileRunning() 67 assertTrue(stopwatch.isRunning()); in testStart_whileRunning() 71 stopwatch.start(); in testStop() 72 assertSame(stopwatch, stopwatch.stop()); in testStop() [all …]
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | RateLimiterTest.java | 51 private final FakeStopwatch stopwatch = new FakeStopwatch(); field in RateLimiterTest 54 RateLimiter limiter = RateLimiter.create(stopwatch, 5.0); in testSimple() 118 RateLimiter limiter = RateLimiter.create(stopwatch, 5.0); in testSimpleWithWait() 120 stopwatch.sleepMillis(200); // U0.20, we are ready for the next request... in testSimpleWithWait() 127 RateLimiter limiter = RateLimiter.create(stopwatch, 5.0); in testSimpleAcquireReturnValues() 129 stopwatch.sleepMillis(200); // U0.20, we are ready for the next request... in testSimpleAcquireReturnValues() 136 RateLimiter limiter = RateLimiter.create(stopwatch, 5.0); in testSimpleAcquireEarliestAvailableIsInPast() 138 stopwatch.sleepMillis(400); in testSimpleAcquireEarliestAvailableIsInPast() 145 RateLimiter limiter = RateLimiter.create(stopwatch, 5.0); in testOneSecondBurst() 146 stopwatch.sleepMillis(1000); // max capacity reached in testOneSecondBurst() [all …]
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | RateLimiter.java | 137 static RateLimiter create(SleepingStopwatch stopwatch, double permitsPerSecond) { in create() argument 138 RateLimiter rateLimiter = new SmoothBursty(stopwatch, 1.0 /* maxBurstSeconds */); in create() 174 SleepingStopwatch stopwatch, double permitsPerSecond, long warmupPeriod, TimeUnit unit) { in create() argument 175 RateLimiter rateLimiter = new SmoothWarmingUp(stopwatch, warmupPeriod, unit); in create() 184 private final SleepingStopwatch stopwatch; field in RateLimiter 202 RateLimiter(SleepingStopwatch stopwatch) { in RateLimiter() argument 203 this.stopwatch = checkNotNull(stopwatch); in RateLimiter() 229 doSetRate(permitsPerSecond, stopwatch.readMicros()); in setRate() 274 stopwatch.sleepMicrosUninterruptibly(microsToWait); in acquire() 287 return reserveAndGetWaitLength(permits, stopwatch.readMicros()); in reserve() [all …]
|
D | SmoothRateLimiter.java | 230 SmoothWarmingUp(SleepingStopwatch stopwatch, long warmupPeriod, TimeUnit timeUnit) { in SmoothWarmingUp() argument 231 super(stopwatch); in SmoothWarmingUp() 284 SmoothBursty(SleepingStopwatch stopwatch, double maxBurstSeconds) { in SmoothBursty() argument 285 super(stopwatch); in SmoothBursty() 332 private SmoothRateLimiter(SleepingStopwatch stopwatch) { in SmoothRateLimiter() argument 333 super(stopwatch); in SmoothRateLimiter()
|
D | ServiceManager.java | 483 Stopwatch stopwatch = startupTimers.get(service); in tryStartTiming() local 484 if (stopwatch == null) { in tryStartTiming() 644 Stopwatch stopwatch = startupTimers.get(service); in transitionService() local 645 if (stopwatch == null) { in transitionService() 647 stopwatch = Stopwatch.createStarted(); in transitionService() 648 startupTimers.put(service, stopwatch); in transitionService() 650 if (to.compareTo(RUNNING) >= 0 && stopwatch.isRunning()) { in transitionService() 652 stopwatch.stop(); in transitionService() 654 logger.log(Level.FINE, "Started {0} in {1}.", new Object[] {service, stopwatch}); in transitionService()
|
/external/guice/core/src/com/google/inject/internal/ |
D | InternalInjectorCreator.java | 61 private final Stopwatch stopwatch = new Stopwatch(); field in InternalInjectorCreator 104 shells = shellBuilder.build(initializer, bindingData, stopwatch, errors); in build() 105 stopwatch.resetAndLog("Injector construction"); in build() 124 stopwatch.resetAndLog("Binding initialization"); in initializeStatically() 129 stopwatch.resetAndLog("Binding indexing"); in initializeStatically() 132 stopwatch.resetAndLog("Collecting injection requests"); in initializeStatically() 135 stopwatch.resetAndLog("Binding validation"); in initializeStatically() 138 stopwatch.resetAndLog("Static validation"); in initializeStatically() 141 stopwatch.resetAndLog("Instance member validation"); in initializeStatically() 147 stopwatch.resetAndLog("Provider verification"); in initializeStatically() [all …]
|
D | InjectorShell.java | 126 Stopwatch stopwatch, in build() argument 155 stopwatch.resetAndLog("Module execution"); in build() 161 stopwatch.resetAndLog("Interceptors creation"); in build() 171 stopwatch.resetAndLog("TypeListeners & ProvisionListener creation"); in build() 174 stopwatch.resetAndLog("Scopes creation"); in build() 177 stopwatch.resetAndLog("Converters creation"); in build() 188 stopwatch.resetAndLog("Binding creation"); in build() 191 stopwatch.resetAndLog("Module annotated method scanners creation"); in build() 200 injectorShells.addAll(builder.build(initializer, bindingData, stopwatch, errors)); in build() 202 stopwatch.resetAndLog("Private environment creation"); in build()
|
/external/libchrome/base/ |
D | tracked_objects_unittest.cc | 127 TaskStopwatch stopwatch; in TEST_F() local 193 TaskStopwatch stopwatch; in TEST_F() local 194 stopwatch.Start(); in TEST_F() 198 stopwatch.Stop(); in TEST_F() 200 ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, stopwatch); in TEST_F() 461 TaskStopwatch stopwatch; in TEST_F() local 462 stopwatch.Start(); in TEST_F() 464 stopwatch.Stop(); in TEST_F() 466 ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, stopwatch); in TEST_F() 490 TaskStopwatch stopwatch; in TEST_F() local [all …]
|
D | tracked_objects.cc | 508 const TaskStopwatch& stopwatch) { in TallyADeath() argument 509 int32_t run_duration = stopwatch.RunDurationMs(); in TallyADeath() 552 const TaskStopwatch& stopwatch) { in TallyRunOnNamedThreadIfTracking() argument 559 ThreadData* current_thread_data = stopwatch.GetThreadData(); in TallyRunOnNamedThreadIfTracking() 568 TrackedTime start_of_run = stopwatch.StartTime(); in TallyRunOnNamedThreadIfTracking() 574 current_thread_data->TallyADeath(*births, queue_duration, stopwatch); in TallyRunOnNamedThreadIfTracking() 581 const TaskStopwatch& stopwatch) { in TallyRunOnWorkerThreadIfTracking() argument 597 ThreadData* current_thread_data = stopwatch.GetThreadData(); in TallyRunOnWorkerThreadIfTracking() 601 TrackedTime start_of_run = stopwatch.StartTime(); in TallyRunOnWorkerThreadIfTracking() 606 current_thread_data->TallyADeath(*births, queue_duration, stopwatch); in TallyRunOnWorkerThreadIfTracking() [all …]
|
D | run_loop.cc | 54 tracked_objects::TaskStopwatch stopwatch; in Run() local 55 stopwatch.Start(); in Run() 57 stopwatch.Stop(); in Run()
|
D | tracked_objects.h | 496 const TaskStopwatch& stopwatch); 507 const TaskStopwatch& stopwatch); 512 const TaskStopwatch& stopwatch); 593 const TaskStopwatch& stopwatch);
|
/external/libchrome/base/debug/ |
D | task_annotator.cc | 31 tracked_objects::TaskStopwatch stopwatch; in RunTask() local 32 stopwatch.Start(); in RunTask() 34 stopwatch.StartTime() - pending_task.EffectiveTimePosted(); in RunTask() 53 stopwatch.Stop(); in RunTask() 55 pending_task, stopwatch); in RunTask()
|
/external/caliper/caliper/src/main/java/com/google/caliper/worker/ |
D | MacrobenchmarkWorker.java | 42 private final Stopwatch stopwatch; field in MacrobenchmarkWorker 50 this.stopwatch = Stopwatch.createUnstarted(ticker); in MacrobenchmarkWorker() 68 stopwatch.start(); in measure() 70 long nanos = stopwatch.stop().elapsed(NANOSECONDS); in measure() 71 stopwatch.reset(); in measure()
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
D | ConsoleOutput.java | 58 private final Stopwatch stopwatch; field in ConsoleOutput 61 ConsoleOutput(@Stdout PrintWriter stdout, int numberOfTrials, Stopwatch stopwatch) { in ConsoleOutput() argument 64 this.stopwatch = stopwatch; in ConsoleOutput() 145 stdout.format("Execution complete: %s.%n", stopwatch.stop()); in close()
|
D | ExperimentingCaliperRun.java | 152 Stopwatch stopwatch = Stopwatch.createStarted(); in run() local 157 ConsoleOutput output = new ConsoleOutput(stdout, totalTrials, stopwatch); in run()
|
/external/libchrome/base/threading/ |
D | worker_pool_posix.cc | 93 tracked_objects::TaskStopwatch stopwatch; in ThreadMain() local 94 stopwatch.Start(); in ThreadMain() 96 stopwatch.Stop(); in ThreadMain() 99 pending_task.birth_tally, pending_task.time_posted, stopwatch); in ThreadMain()
|
D | sequenced_worker_pool.cc | 833 tracked_objects::TaskStopwatch stopwatch; in ThreadLoop() local 834 stopwatch.Start(); in ThreadLoop() 836 stopwatch.Stop(); in ThreadLoop() 839 task, stopwatch); in ThreadLoop()
|
/external/guava/guava-tests/benchmark/com/google/common/base/ |
D | StopwatchBenchmark.java | 32 @Benchmark long stopwatch(int reps) { in stopwatch() method in StopwatchBenchmark
|
/external/antlr/antlr-3.4/runtime/JavaScript/third/ |
D | antcontrib.properties | 21 stopwatch=net.sf.antcontrib.perf.StopWatchTask key
|
/external/guava/guava/src/com/google/common/cache/ |
D | LocalCache.java | 3471 final Stopwatch stopwatch = Stopwatch.createUnstarted(); field in LocalCache.LoadingValueReference 3523 stopwatch.start(); in loadFuture() 3552 return stopwatch.elapsed(NANOSECONDS); in elapsedNanos() 4020 Stopwatch stopwatch = Stopwatch.createStarted(); 4042 globalStatsCounter.recordLoadException(stopwatch.elapsed(NANOSECONDS)); 4047 globalStatsCounter.recordLoadException(stopwatch.elapsed(NANOSECONDS)); 4051 stopwatch.stop(); 4066 globalStatsCounter.recordLoadException(stopwatch.elapsed(NANOSECONDS)); 4071 globalStatsCounter.recordLoadSuccess(stopwatch.elapsed(NANOSECONDS));
|
/external/blktrace/doc/ |
D | blktrace.tex | 395 -w \emph{seconds} & --stopwatch=\emph{seconds} & Sets run time to the number of seconds specified … 504 -w \emph{span} & --stopwatch=\emph{span} & Display traces for the \emph{span} specified -- w…
|
/external/testng/lib-supplied/ |
D | guice-2.0.jar | META-INF/
META-INF/MANIFEST.MF
LICENSE
NOTICE
org/
org/testng/
... |
/external/guice/lib/ |
D | guava-16.0.1.jar | META-INF/MANIFEST.MF
META-INF/
META-INF/maven/
META- ... |
/external/owasp/sanitizer/distrib/lib/ |
D | guava.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |