/external/guava/guava-tests/test/com/google/common/base/ |
H A D | StopwatchTest.java | 38 private final Stopwatch stopwatch = new Stopwatch(ticker); field in class:StopwatchTest 41 assertFalse(stopwatch.isRunning()); 42 assertEquals(0, stopwatch.elapsedTime(NANOSECONDS)); 46 assertSame(stopwatch, stopwatch.start()); 47 assertTrue(stopwatch.isRunning()); 51 stopwatch.start(); 53 stopwatch.start(); 57 assertTrue(stopwatch.isRunning()); 61 stopwatch [all...] |
/external/lldb/test/benchmarks/disassembly/ |
H A D | TestXcode41Vs42GDBDisassembly.py | 30 print "4.1 gdb benchmark:", self.stopwatch 31 self.gdb_41_avg = self.stopwatch.avg() 33 print "4.2 gdb benchmark:", self.stopwatch 34 self.gdb_42_avg = self.stopwatch.avg() 42 print "4.2 gdb benchmark:", self.stopwatch 43 self.gdb_42_avg = self.stopwatch.avg() 45 print "4.1 gdb benchmark:", self.stopwatch 46 self.gdb_41_avg = self.stopwatch.avg() 68 # Reset the stopwatch now. 69 self.stopwatch [all...] |
H A D | TestDisassembly.py | 49 print "lldb benchmark:", self.stopwatch 51 print "gdb benchmark:", self.stopwatch 63 print "gdb benchmark:", self.stopwatch 65 print "lldb benchmark:", self.stopwatch 87 # Reset the stopwatch now. 88 self.stopwatch.reset() 90 with self.stopwatch: 103 self.lldb_avg = self.stopwatch.avg() 105 print "lldb disassembly benchmark:", str(self.stopwatch) 127 # Reset the stopwatch no [all...] |
H A D | TestDoAttachThenDisassembly.py | 30 print "lldb disassembly benchmark:", self.stopwatch 63 # Reset the stopwatch now. 64 self.stopwatch.reset() 66 with self.stopwatch:
|
/external/lldb/test/benchmarks/turnaround/ |
H A D | TestCompileRunToBreakpointTurnaround.py | 30 print "lldb turnaround benchmark:", self.stopwatch 32 print "gdb turnaround benchmark:", self.stopwatch 55 # Reset the stopwatch now. 56 self.stopwatch.reset() 63 with self.stopwatch: 72 self.lldb_avg = self.stopwatch.avg() 95 # Reset the stopwatch now. 96 self.stopwatch.reset() 103 with self.stopwatch: 114 self.gdb_avg = self.stopwatch [all...] |
/external/chromium_org/base/debug/ |
H A D | task_annotator.cc | 32 tracked_objects::TaskStopwatch stopwatch; local 34 stopwatch.StartTime() - pending_task.EffectiveTimePosted(); 64 stopwatch.Stop(); 66 pending_task, stopwatch);
|
/external/lldb/test/benchmarks/expression/ |
H A D | TestRepeatedExprs.py | 31 print "lldb benchmark:", self.stopwatch 33 print "gdb benchmark:", self.stopwatch 59 # Reset the stopwatch now. 60 self.stopwatch.reset() 62 with self.stopwatch: 76 self.lldb_avg = self.stopwatch.avg() 78 print "lldb expression benchmark:", str(self.stopwatch) 104 # Reset the stopwatch now. 105 self.stopwatch.reset() 107 with self.stopwatch [all...] |
H A D | TestExpressionCmd.py | 29 print "lldb expr cmd benchmark:", self.stopwatch 38 # Reset the stopwatch now. 39 self.stopwatch.reset() 57 with self.stopwatch:
|
/external/chromium_org/base/threading/ |
H A D | worker_pool_win.cc | 32 tracked_objects::TaskStopwatch stopwatch; local 34 stopwatch.Stop(); 41 stopwatch);
|
H A D | worker_pool_posix.cc | 99 tracked_objects::TaskStopwatch stopwatch; local 101 stopwatch.Stop(); 105 stopwatch);
|
H A D | sequenced_worker_pool.cc | 759 tracked_objects::TaskStopwatch stopwatch; local 761 stopwatch.Stop(); 764 task, stopwatch);
|
/external/lldb/test/benchmarks/stepping/ |
H A D | TestRunHooksThenSteppings.py | 24 print "lldb stepping benchmark:", self.stopwatch 45 # Reset the stopwatch now. 46 self.stopwatch.reset() 48 with self.stopwatch:
|
H A D | TestSteppingSpeed.py | 36 print "lldb stepping benchmark:", self.stopwatch 57 # Reset the stopwatch now. 58 self.stopwatch.reset() 60 with self.stopwatch:
|
/external/lldb/test/benchmarks/frame_variable/ |
H A D | TestFrameVariableResponse.py | 33 print "lldb frame variable benchmark:", self.stopwatch 41 self.stopwatch.reset() 59 with self.stopwatch:
|
/external/lldb/test/benchmarks/startup/ |
H A D | TestStartupDelays.py | 16 # The default self.stopwatch is for "create fresh target". 38 print "lldb startup delay (create fresh target) benchmark:", self.stopwatch 48 self.stopwatch.reset() 59 with self.stopwatch:
|
/external/chromium_org/mojo/system/ |
H A D | simple_dispatcher_unittest.cc | 95 test::Stopwatch stopwatch; local 119 stopwatch.Start(); 121 EXPECT_LT(stopwatch.Elapsed(), test::EpsilonTimeout()); 135 stopwatch.Start(); 137 EXPECT_LT(stopwatch.Elapsed(), test::EpsilonTimeout()); 151 stopwatch.Start(); 154 EXPECT_LT(stopwatch.Elapsed(), test::EpsilonTimeout()); 167 stopwatch.Start(); 169 EXPECT_LT(stopwatch.Elapsed(), test::EpsilonTimeout()); 182 stopwatch 198 test::Stopwatch stopwatch; local 271 test::Stopwatch stopwatch; local 335 test::Stopwatch stopwatch; local [all...] |
H A D | waiter_unittest.cc | 65 test::Stopwatch stopwatch; variable 70 stopwatch.Start(); 72 elapsed = stopwatch.Elapsed(); 213 test::Stopwatch stopwatch; local 220 stopwatch.Start(); 222 elapsed = stopwatch.Elapsed(); 227 stopwatch.Start(); 230 elapsed = stopwatch.Elapsed(); 236 stopwatch.Start(); 239 elapsed = stopwatch [all...] |
H A D | message_pipe_dispatcher_unittest.cc | 33 test::Stopwatch stopwatch; local 75 stopwatch.Start(); 78 EXPECT_LT(stopwatch.Elapsed(), test::EpsilonTimeout()); 113 stopwatch.Start(); 115 EXPECT_LT(stopwatch.Elapsed(), test::EpsilonTimeout()); 126 stopwatch.Start(); 129 base::TimeDelta elapsed = stopwatch.Elapsed(); 357 test::Stopwatch stopwatch; local 389 stopwatch.Start(); 400 elapsed = stopwatch [all...] |
/external/chromium_org/base/ |
H A D | run_loop.cc | 51 // Use task stopwatch to exclude the loop run time from the current task, if 53 tracked_objects::TaskStopwatch stopwatch; 55 stopwatch.Stop();
|
H A D | tracked_objects_unittest.cc | 192 TaskStopwatch stopwatch; local 196 stopwatch.Stop(); 198 ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, stopwatch); 384 TaskStopwatch stopwatch; local 386 stopwatch.Stop(); 388 ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, stopwatch); 424 TaskStopwatch stopwatch; local 426 stopwatch.Stop(); 428 ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, stopwatch); 458 TaskStopwatch stopwatch; local 487 TaskStopwatch stopwatch; local 554 TaskStopwatch stopwatch; local 597 TaskStopwatch stopwatch; local [all...] |
H A D | tracked_objects.cc | 442 const TaskStopwatch& stopwatch) { 443 int32 run_duration = stopwatch.RunDurationMs(); 495 const TaskStopwatch& stopwatch) { 505 ThreadData* current_thread_data = stopwatch.GetThreadData(); 514 TrackedTime start_of_run = stopwatch.StartTime(); 520 current_thread_data->TallyADeath(*birth, queue_duration, stopwatch); 527 const TaskStopwatch& stopwatch) { 546 ThreadData* current_thread_data = stopwatch.GetThreadData(); 550 TrackedTime start_of_run = stopwatch.StartTime(); 555 current_thread_data->TallyADeath(*birth, queue_duration, stopwatch); 440 TallyADeath(const Births& birth, int32 queue_duration, const TaskStopwatch& stopwatch) argument 493 TallyRunOnNamedThreadIfTracking( const base::TrackingInfo& completed_task, const TaskStopwatch& stopwatch) argument 524 TallyRunOnWorkerThreadIfTracking( const Births* birth, const TrackedTime& time_posted, const TaskStopwatch& stopwatch) argument 559 TallyRunInAScopedRegionIfTracking( const Births* birth, const TaskStopwatch& stopwatch) argument [all...] |
H A D | tracked_objects.h | 408 const TaskStopwatch& stopwatch); 420 const TaskStopwatch& stopwatch); 426 const TaskStopwatch& stopwatch); 526 const TaskStopwatch& stopwatch); 693 // Most recently started (i.e. most nested) stopwatch on the current thread, 708 // Starts the stopwatch. 712 // Stops stopwatch. 719 // and stopping this stopwatch, minus the wallclock durations of any other 728 // Time when the stopwatch was started. 741 // Stopwatch which was running on our thread when this stopwatch wa [all...] |
/external/lldb/test/ |
H A D | lldbbench.py | 6 """Stopwatch provides a simple utility to start/stop your stopwatch multiple 23 # Reset the stopwatch as we are about to perform other kind of operations. 105 self.stopwatch = Stopwatch() 111 del self.stopwatch
|
/external/chromium_org/content/browser/gpu/ |
H A D | browser_gpu_channel_host_factory.cc | 202 // to do with its efficiency. Using task stopwatch to exclude the waiting 204 tracked_objects::TaskStopwatch stopwatch; local 214 stopwatch.Stop();
|
/external/guava/guava/src/com/google/common/cache/ |
H A D | LocalCache.java | 3501 final Stopwatch stopwatch = new Stopwatch(); field in class:LocalCache.LoadingValueReference 3564 stopwatch.start(); 3581 return stopwatch.elapsedTime(NANOSECONDS); 4044 Stopwatch stopwatch = new Stopwatch().start(); 4063 globalStatsCounter.recordLoadException(stopwatch.elapsedTime(NANOSECONDS)); 4068 globalStatsCounter.recordLoadException(stopwatch.elapsedTime(NANOSECONDS)); 4072 stopwatch.stop(); 4087 globalStatsCounter.recordLoadException(stopwatch.elapsedTime(NANOSECONDS)); 4092 globalStatsCounter.recordLoadSuccess(stopwatch.elapsedTime(NANOSECONDS));
|