Home
last modified time | relevance | path

Searched refs:InMilliseconds (Results 1 – 25 of 33) sorted by relevance

12

/external/libchrome/base/profiler/
Dtracked_time_unittest.cc24 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()
Dtracked_time.cc42 int32_t Duration::InMilliseconds() const { in InMilliseconds() function in tracked_objects::Duration
51 : ms_(static_cast<int32_t>((time - base::TimeTicks()).InMilliseconds())) {} in TrackedTime()
Dtracked_time.h39 int32_t InMilliseconds() const;
/external/libchrome/base/trace_event/
Dtrace_event_synthetic_delay_unittest.cc48 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/
Dspin_wait.h42 EXPECT_LE((base::TimeTicks::Now() - start).InMilliseconds(), \
43 kTimeout.InMilliseconds()) << "Timed out"; \
/external/libchrome/base/message_loop/
Dincoming_task_queue.cc72 delay.InMilliseconds() < (2 * Time::kMinLowResolutionThresholdMs)) { in AddToIncomingQueue()
134 DCHECK_EQ(delay.InMilliseconds(), 0) << "delay should not be negative"; in CalculateDelayedRuntime()
/external/libchrome/base/debug/
Dtask_annotator.cc41 queue_duration.InMilliseconds()); in RunTask()
/external/libchrome/base/
Dtracked_objects.cc351 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()
Dsync_socket_unittest.cc126 ASSERT_LT((base::TimeTicks::Now() - start).InMilliseconds(), in TEST()
Dobserver_list_unittest.cc127 if ((Time::Now() - start_).InMilliseconds() > kThreadRunTime) { in AddTask()
394 if ((Time::Now() - start).InMilliseconds() > kThreadRunTime) in ThreadSafeObserverHarness()
/external/libbrillo/brillo/
Dbackoff_entry.cc79 (now - exponential_backoff_release_time_).InMilliseconds(); in CanDiscard()
Dbackoff_entry_unittest.cc308 EXPECT_EQ(20000, custom.GetTimeUntilRelease().InMilliseconds()); in TEST()
/external/libweave/src/
Dbackoff_entry.cc78 (now - exponential_backoff_release_time_).InMilliseconds(); in CanDiscard()
Dbackoff_entry_unittest.cc306 EXPECT_EQ(20000, custom.GetTimeUntilRelease().InMilliseconds()); in TEST()
/external/libchrome/base/metrics/
Dhistogram.cc131 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()
Dhistogram_base.cc87 Add(static_cast<Sample>(time.InMilliseconds())); in AddTime()
/external/libchrome/base/time/
Dtime_unittest.cc594 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()
Dtime.cc77 int64_t TimeDelta::InMilliseconds() const { in InMilliseconds() function in base::TimeDelta
/external/v8/src/base/platform/
Dsemaphore.cc186 int64_t msec = (end - now).InMilliseconds();
Dcondition-variable.cc291 int64_t msec = (end - now).InMilliseconds();
Dtime.h60 int64_t InMilliseconds() const;
/external/libweave/third_party/chromium/base/time/
Dtime_unittest.cc404 } 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()
Dtime.cc74 int64_t TimeDelta::InMilliseconds() const { in InMilliseconds() function in base::TimeDelta
/external/v8/test/unittests/base/platform/
Dtime-unittest.cc36 TimeDelta::FromMilliseconds(13).InMilliseconds()); in TEST()
/external/v8/src/
Dcounters.cc51 : timer_.Elapsed().InMilliseconds(); in Stop()

12