/external/guava/guava-tests/test/com/google/common/base/ |
StopwatchTest.java | 30 * Unit test for {@link Stopwatch}. 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() [all...] |
/external/lldb/test/benchmarks/disassembly/ |
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.reset( [all...] |
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 now [all...] |
TestDoAttachThenDisassembly.py | 30 print "lldb disassembly benchmark:", self.stopwatch 63 # Reset the stopwatch now. 64 self.stopwatch.reset() 66 with self.stopwatch:
|
/external/chromium_org/base/debug/ |
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/ |
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...] |
TestExpressionCmd.py | 29 print "lldb expr cmd benchmark:", self.stopwatch 38 # Reset the stopwatch now. 39 self.stopwatch.reset() 57 with self.stopwatch:
|
/external/lldb/test/benchmarks/turnaround/ |
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.avg( [all...] |
/external/chromium_org/base/threading/ |
worker_pool_win.cc | 32 tracked_objects::TaskStopwatch stopwatch; local 34 stopwatch.Stop(); 41 stopwatch);
|
worker_pool_posix.cc | 99 tracked_objects::TaskStopwatch stopwatch; local 101 stopwatch.Stop(); 105 stopwatch);
|
/external/lldb/test/benchmarks/stepping/ |
TestRunHooksThenSteppings.py | 24 print "lldb stepping benchmark:", self.stopwatch 45 # Reset the stopwatch now. 46 self.stopwatch.reset() 48 with self.stopwatch:
|
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/ |
TestFrameVariableResponse.py | 33 print "lldb frame variable benchmark:", self.stopwatch 41 self.stopwatch.reset() 59 with self.stopwatch:
|
/external/lldb/test/benchmarks/startup/ |
TestStartupDelays.py | 16 # The default self.stopwatch is for "create fresh target". 17 self.stopwatch2 = Stopwatch() 19 self.stopwatch3 = Stopwatch() 38 print "lldb startup delay (create fresh target) benchmark:", self.stopwatch 48 self.stopwatch.reset() 59 with self.stopwatch:
|
/external/chromium_org/mojo/system/ |
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()) 198 test::Stopwatch stopwatch; local 271 test::Stopwatch stopwatch; local 335 test::Stopwatch stopwatch; local [all...] |
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() [all...] |
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 [all...] |
/external/chromium_org/base/ |
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();
|
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...] |
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); [all...] |
tracked_objects.h | 408 const TaskStopwatch& stopwatch); 420 const TaskStopwatch& stopwatch); 426 const TaskStopwatch& stopwatch); 526 const TaskStopwatch& stopwatch); [all...] |
/external/lldb/test/ |
lldbbench.py | 5 class Stopwatch(object): 6 """Stopwatch provides a simple utility to start/stop your stopwatch multiple 15 sw = Stopwatch() 23 # Reset the stopwatch as we are about to perform other kind of operations. 105 self.stopwatch = Stopwatch() 111 del self.stopwatch
|
/system/extras/tests/sdcard/ |
Android.mk | 26 stopwatch.cpp \
|
/development/tools/idegen/src/ |
Configuration.java | 62 Stopwatch stopwatch = new Stopwatch(); local 66 stopwatch.reset("Read excludes"); 74 stopwatch.reset("Traversed tree");
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
TemplateHandlerTest.java | 55 import com.google.common.base.Stopwatch; 158 Stopwatch stopwatch = new Stopwatch(); local 159 stopwatch.start(); 161 stopwatch.stop(); 163 + stopwatch.toString()); 270 Stopwatch stopwatch = new Stopwatch(); local 281 Stopwatch stopwatch = new Stopwatch(); local [all...] |