Searched defs:stopwatch (Results 1 - 22 of 22) sorted by relevance

/external/guava/guava-tests/benchmark/com/google/common/base/
H A DStopwatchBenchmark.java26 * most useful result because it's ambiguous to what extent the stopwatch
32 @Benchmark long stopwatch(int reps) { method in class:StopwatchBenchmark
/external/libchrome/base/debug/
H A Dtask_annotator.cc31 tracked_objects::TaskStopwatch stopwatch; local
32 stopwatch.Start();
34 stopwatch.StartTime() - pending_task.EffectiveTimePosted();
53 stopwatch.Stop();
55 pending_task, stopwatch);
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
H A DConsoleOutput.java58 private final Stopwatch stopwatch; field in class:ConsoleOutput
61 ConsoleOutput(@Stdout PrintWriter stdout, int numberOfTrials, Stopwatch stopwatch) { argument
64 this.stopwatch = stopwatch;
145 stdout.format("Execution complete: %s.%n", stopwatch.stop());
/external/caliper/caliper/src/main/java/com/google/caliper/worker/
H A DMacrobenchmarkWorker.java42 private final Stopwatch stopwatch; field in class:MacrobenchmarkWorker
50 this.stopwatch = Stopwatch.createUnstarted(ticker);
68 stopwatch.start();
70 long nanos = stopwatch.stop().elapsed(NANOSECONDS);
71 stopwatch.reset();
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
H A DStopwatchTest.java37 private final Stopwatch stopwatch = new Stopwatch(ticker); field in class:StopwatchTest
51 assertFalse(stopwatch.isRunning());
52 assertEquals(0, stopwatch.elapsed(NANOSECONDS));
56 assertSame(stopwatch, stopwatch.start());
57 assertTrue(stopwatch.isRunning());
61 stopwatch.start();
63 stopwatch.start();
67 assertTrue(stopwatch.isRunning());
71 stopwatch
[all...]
/external/guava/guava-tests/test/com/google/common/base/
H A DStopwatchTest.java38 private final Stopwatch stopwatch = new Stopwatch(ticker); field in class:StopwatchTest
52 assertFalse(stopwatch.isRunning());
53 assertEquals(0, stopwatch.elapsed(NANOSECONDS));
57 assertSame(stopwatch, stopwatch.start());
58 assertTrue(stopwatch.isRunning());
62 stopwatch.start();
64 stopwatch.start();
68 assertTrue(stopwatch.isRunning());
72 stopwatch
[all...]
/external/guava/guava/src/com/google/common/util/concurrent/
H A DRateLimiter.java137 static RateLimiter create(SleepingStopwatch stopwatch, double permitsPerSecond) { argument
138 RateLimiter rateLimiter = new SmoothBursty(stopwatch, 1.0 /* maxBurstSeconds */);
174 SleepingStopwatch stopwatch, double permitsPerSecond, long warmupPeriod, TimeUnit unit) {
175 RateLimiter rateLimiter = new SmoothWarmingUp(stopwatch, warmupPeriod, unit);
184 private final SleepingStopwatch stopwatch; field in class:RateLimiter
202 RateLimiter(SleepingStopwatch stopwatch) { argument
203 this.stopwatch = checkNotNull(stopwatch);
229 doSetRate(permitsPerSecond, stopwatch.readMicros());
274 stopwatch
173 create( SleepingStopwatch stopwatch, double permitsPerSecond, long warmupPeriod, TimeUnit unit) argument
[all...]
H A DSmoothRateLimiter.java230 SmoothWarmingUp(SleepingStopwatch stopwatch, long warmupPeriod, TimeUnit timeUnit) { argument
231 super(stopwatch);
284 SmoothBursty(SleepingStopwatch stopwatch, double maxBurstSeconds) { argument
285 super(stopwatch);
332 private SmoothRateLimiter(SleepingStopwatch stopwatch) { argument
333 super(stopwatch);
/external/guice/core/src/com/google/inject/internal/
H A DInjectorShell.java126 Stopwatch stopwatch,
155 stopwatch.resetAndLog("Module execution");
161 stopwatch.resetAndLog("Interceptors creation");
171 stopwatch.resetAndLog("TypeListeners & ProvisionListener creation");
174 stopwatch.resetAndLog("Scopes creation");
177 stopwatch.resetAndLog("Converters creation");
188 stopwatch.resetAndLog("Binding creation");
191 stopwatch.resetAndLog("Module annotated method scanners creation");
200 injectorShells.addAll(builder.build(initializer, bindingData, stopwatch, errors));
202 stopwatch
123 build( Initializer initializer, ProcessedBindingData bindingData, Stopwatch stopwatch, Errors errors) argument
[all...]
H A DInternalInjectorCreator.java61 private final Stopwatch stopwatch = new Stopwatch(); field in class:InternalInjectorCreator
104 shells = shellBuilder.build(initializer, bindingData, stopwatch, errors);
105 stopwatch.resetAndLog("Injector construction");
124 stopwatch.resetAndLog("Binding initialization");
129 stopwatch.resetAndLog("Binding indexing");
132 stopwatch.resetAndLog("Collecting injection requests");
135 stopwatch.resetAndLog("Binding validation");
138 stopwatch.resetAndLog("Static validation");
141 stopwatch.resetAndLog("Instance member validation");
147 stopwatch
[all...]
/external/libchrome/base/threading/
H A Dworker_pool_posix.cc93 tracked_objects::TaskStopwatch stopwatch; local
94 stopwatch.Start();
96 stopwatch.Stop();
99 pending_task.birth_tally, pending_task.time_posted, stopwatch);
H A Dsequenced_worker_pool.cc833 tracked_objects::TaskStopwatch stopwatch; local
834 stopwatch.Start();
836 stopwatch.Stop();
839 task, stopwatch);
/external/guava/guava-tests/test/com/google/common/util/concurrent/
H A DRateLimiterTest.java51 private final FakeStopwatch stopwatch = new FakeStopwatch(); field in class:RateLimiterTest
54 RateLimiter limiter = RateLimiter.create(stopwatch, 5.0);
118 RateLimiter limiter = RateLimiter.create(stopwatch, 5.0);
120 stopwatch.sleepMillis(200); // U0.20, we are ready for the next request...
127 RateLimiter limiter = RateLimiter.create(stopwatch, 5.0);
129 stopwatch.sleepMillis(200); // U0.20, we are ready for the next request...
136 RateLimiter limiter = RateLimiter.create(stopwatch, 5.0);
138 stopwatch.sleepMillis(400);
145 RateLimiter limiter = RateLimiter.create(stopwatch, 5.0);
146 stopwatch
[all...]
/external/libchrome/base/
H A Dtracked_objects_unittest.cc125 // Check that creating and destroying a stopwatch without starting it doesn't
127 TaskStopwatch stopwatch; local
193 TaskStopwatch stopwatch; local
194 stopwatch.Start();
198 stopwatch.Stop();
200 ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, stopwatch);
461 TaskStopwatch stopwatch; local
462 stopwatch.Start();
464 stopwatch.Stop();
466 ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, stopwatch);
490 TaskStopwatch stopwatch; local
588 TaskStopwatch stopwatch; local
606 TaskStopwatch stopwatch; local
625 TaskStopwatch stopwatch; local
730 TaskStopwatch stopwatch; local
795 TaskStopwatch stopwatch; local
857 TaskStopwatch stopwatch; local
889 TaskStopwatch stopwatch; local
926 TaskStopwatch stopwatch; local
967 TaskStopwatch stopwatch; local
[all...]
H A Dtracked_objects.cc508 const TaskStopwatch& stopwatch) {
509 int32_t run_duration = stopwatch.RunDurationMs();
552 const TaskStopwatch& stopwatch) {
559 ThreadData* current_thread_data = stopwatch.GetThreadData();
568 TrackedTime start_of_run = stopwatch.StartTime();
574 current_thread_data->TallyADeath(*births, queue_duration, stopwatch);
581 const TaskStopwatch& stopwatch) {
597 ThreadData* current_thread_data = stopwatch.GetThreadData();
601 TrackedTime start_of_run = stopwatch.StartTime();
606 current_thread_data->TallyADeath(*births, queue_duration, stopwatch);
506 TallyADeath(const Births& births, int32_t queue_duration, const TaskStopwatch& stopwatch) argument
550 TallyRunOnNamedThreadIfTracking( const base::TrackingInfo& completed_task, const TaskStopwatch& stopwatch) argument
578 TallyRunOnWorkerThreadIfTracking( const Births* births, const TrackedTime& time_posted, const TaskStopwatch& stopwatch) argument
610 TallyRunInAScopedRegionIfTracking( const Births* births, const TaskStopwatch& stopwatch) argument
[all...]
/external/guava/guava/src/com/google/common/cache/
H A DLocalCache.java3471 final Stopwatch stopwatch = Stopwatch.createUnstarted(); field in class:LocalCache.LoadingValueReference
3523 stopwatch.start();
3552 return stopwatch.elapsed(NANOSECONDS);
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/testng/lib-supplied/
H A Dguice-2.0.jarMETA-INF/ META-INF/MANIFEST.MF LICENSE NOTICE org/ org/testng/ org/testng/guice/ org/testng/ ...
/external/owasp/sanitizer/distrib/lib/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/owasp/sanitizer/lib/guava-libraries/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/dagger2/lib/
H A Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/googlejavaformat/ com/google/googlejavaformat/CloseOp ...
/external/guice/lib/
H A Dguava-16.0.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META-INF/maven/com. ...
/external/robolectric/v3/runtime/
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 1825 milliseconds