/external/libchrome/base/profiler/ |
D | tracked_time_unittest.cc | 24 EXPECT_EQ(kSomeMilliseconds, (some - TrackedTime()).InMilliseconds()); in TEST() 30 EXPECT_EQ(kReallyBigMilliseconds, (big - base::TimeTicks()).InMilliseconds()); in TEST() 34 EXPECT_EQ(kSomeMilliseconds, (wrapped_big - TrackedTime()).InMilliseconds()); in TEST() 44 EXPECT_EQ(kFirstMilliseconds, first.InMilliseconds()); in TEST() 45 EXPECT_EQ(kSecondMilliseconds, second.InMilliseconds()); in TEST() 48 EXPECT_EQ(kFirstMilliseconds + kSecondMilliseconds, sum.InMilliseconds()); in TEST() 67 EXPECT_LE(0, before.InMilliseconds()); in TEST() 69 EXPECT_GE(0, after.InMilliseconds()); in TEST() 100 EXPECT_LE(0, before.InMilliseconds()); in TEST() 102 EXPECT_GE(0, after.InMilliseconds()); in TEST()
|
D | tracked_time.cc | 42 int32_t Duration::InMilliseconds() const { in InMilliseconds() function in tracked_objects::Duration 51 : ms_(static_cast<int32_t>((time - base::TimeTicks()).InMilliseconds())) {} in TrackedTime()
|
D | tracked_time.h | 39 int32_t InMilliseconds() const;
|
/external/libchrome/base/trace_event/ |
D | trace_event_synthetic_delay_unittest.cc | 48 return (Now() - start).InMilliseconds(); in TestFunction() 54 return (Now() - start).InMilliseconds(); in AsyncTestFunctionBegin() 60 return (Now() - start).InMilliseconds(); in AsyncTestFunctionEnd() 149 EXPECT_GE((Now() - start_time).InMilliseconds(), kTargetDurationMs); in TEST_F() 153 EXPECT_LT((Now() - start_time).InMilliseconds(), kShortDurationMs); in TEST_F()
|
/external/libchrome/base/synchronization/ |
D | spin_wait.h | 42 EXPECT_LE((base::TimeTicks::Now() - start).InMilliseconds(), \ 43 kTimeout.InMilliseconds()) << "Timed out"; \
|
/external/libchrome/base/message_loop/ |
D | incoming_task_queue.cc | 72 delay.InMilliseconds() < (2 * Time::kMinLowResolutionThresholdMs)) { in AddToIncomingQueue() 134 DCHECK_EQ(delay.InMilliseconds(), 0) << "delay should not be negative"; in CalculateDelayedRuntime()
|
/external/libchrome/base/debug/ |
D | task_annotator.cc | 41 queue_duration.InMilliseconds()); in RunTask()
|
/external/libchrome/base/ |
D | tracked_objects.cc | 351 random_number_ ^= (Now() - TrackedTime()).InMilliseconds(); in PushToHeadOfList() 572 .InMilliseconds(); in TallyRunOnNamedThreadIfTracking() 604 queue_duration = (start_of_run - time_posted).InMilliseconds(); in TallyRunOnWorkerThreadIfTracking() 906 wallclock_duration_ms_ = (end_time - start_time_).InMilliseconds(); in Stop()
|
D | sync_socket_unittest.cc | 126 ASSERT_LT((base::TimeTicks::Now() - start).InMilliseconds(), in TEST()
|
D | observer_list_unittest.cc | 127 if ((Time::Now() - start_).InMilliseconds() > kThreadRunTime) { in AddTask() 394 if ((Time::Now() - start).InMilliseconds() > kThreadRunTime) in ThreadSafeObserverHarness()
|
/external/libbrillo/brillo/ |
D | backoff_entry.cc | 79 (now - exponential_backoff_release_time_).InMilliseconds(); in CanDiscard()
|
D | backoff_entry_unittest.cc | 308 EXPECT_EQ(20000, custom.GetTimeUntilRelease().InMilliseconds()); in TEST()
|
/external/libweave/src/ |
D | backoff_entry.cc | 78 (now - exponential_backoff_release_time_).InMilliseconds(); in CanDiscard()
|
D | backoff_entry_unittest.cc | 306 EXPECT_EQ(20000, custom.GetTimeUntilRelease().InMilliseconds()); in TEST()
|
/external/libchrome/base/metrics/ |
D | histogram.cc | 131 return FactoryGet(name, static_cast<Sample>(minimum.InMilliseconds()), in FactoryTimeGet() 132 static_cast<Sample>(maximum.InMilliseconds()), bucket_count, in FactoryTimeGet() 564 return FactoryGet(name, static_cast<Sample>(minimum.InMilliseconds()), in FactoryTimeGet() 565 static_cast<Sample>(maximum.InMilliseconds()), bucket_count, in FactoryTimeGet()
|
D | histogram_base.cc | 87 Add(static_cast<Sample>(time.InMilliseconds())); in AddTime()
|
/external/libchrome/base/time/ |
D | time_unittest.cc | 594 EXPECT_GE(delta.InMilliseconds(), 9); in TEST() 626 } while (delta.InMilliseconds() == 0); in HighResClockTest() 741 EXPECT_EQ(13, TimeDelta::FromMilliseconds(13).InMilliseconds()); in TEST() 745 EXPECT_EQ(13, TimeDelta::FromMillisecondsD(13.3).InMilliseconds()); in TEST() 844 EXPECT_EQ(std::numeric_limits<int64_t>::max(), t.InMilliseconds()); in TEST()
|
D | time.cc | 77 int64_t TimeDelta::InMilliseconds() const { in InMilliseconds() function in base::TimeDelta
|
/external/v8/src/base/platform/ |
D | semaphore.cc | 186 int64_t msec = (end - now).InMilliseconds();
|
D | condition-variable.cc | 291 int64_t msec = (end - now).InMilliseconds();
|
D | time.h | 60 int64_t InMilliseconds() const;
|
/external/libweave/third_party/chromium/base/time/ |
D | time_unittest.cc | 404 } while (delta.InMilliseconds() == 0); in HighResClockTest() 491 EXPECT_EQ(13, TimeDelta::FromMilliseconds(13).InMilliseconds()); in TEST() 495 EXPECT_EQ(13, TimeDelta::FromMillisecondsD(13.3).InMilliseconds()); in TEST() 594 EXPECT_EQ(std::numeric_limits<int64_t>::max(), t.InMilliseconds()); in TEST()
|
D | time.cc | 74 int64_t TimeDelta::InMilliseconds() const { in InMilliseconds() function in base::TimeDelta
|
/external/v8/test/unittests/base/platform/ |
D | time-unittest.cc | 36 TimeDelta::FromMilliseconds(13).InMilliseconds()); in TEST()
|
/external/v8/src/ |
D | counters.cc | 51 : timer_.Elapsed().InMilliseconds(); in Stop()
|