Home
last modified time | relevance | path

Searched refs:InMilliseconds (Results 1 – 25 of 30) 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.cc46 DCHECK_EQ(delay.InMilliseconds(), 0) << "delay should not be negative"; in CalculateDelayedRuntime()
79 delay.InMilliseconds() < (2 * Time::kMinLowResolutionThresholdMs)) { in AddToIncomingQueue()
/external/libchrome/base/metrics/
Dsparse_histogram_unittest.cc286 int64_t create_ms = create_ticks.InMilliseconds(); in TEST_P()
306 int64_t lookup_ms = lookup_ticks.InMilliseconds(); in TEST_P()
321 int64_t add_ms = add_ticks.InMilliseconds(); in TEST_P()
Dhistogram_unittest.cc661 int64_t create_ms = create_ticks.InMilliseconds(); in TEST_P()
681 int64_t lookup_ms = lookup_ticks.InMilliseconds(); in TEST_P()
696 int64_t add_ms = add_ticks.InMilliseconds(); in TEST_P()
Dhistogram.cc252 return FactoryGet(name, static_cast<Sample>(minimum.InMilliseconds()), in FactoryTimeGet()
253 static_cast<Sample>(maximum.InMilliseconds()), bucket_count, in FactoryTimeGet()
795 return FactoryGet(name, static_cast<Sample>(minimum.InMilliseconds()), in FactoryTimeGet()
796 static_cast<Sample>(maximum.InMilliseconds()), bucket_count, in FactoryTimeGet()
Dhistogram_base.cc87 Add(static_cast<Sample>(time.InMilliseconds())); in AddTime()
/external/libchrome/base/debug/
Dtask_annotator.cc41 queue_duration.InMilliseconds()); in RunTask()
/external/libchrome/base/
Dtracked_objects.cc340 random_number_ ^= (Now() - TrackedTime()).InMilliseconds(); in PushToHeadOfList()
553 .InMilliseconds(); in TallyRunOnNamedThreadIfTracking()
585 queue_duration = (start_of_run - time_posted).InMilliseconds(); in TallyRunOnWorkerThreadIfTracking()
867 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/v8/src/base/platform/
Dsemaphore.cc169 int64_t msec = (end - now).InMilliseconds();
Dcondition-variable.cc304 int64_t msec = (end - now).InMilliseconds();
Dtime.h72 int64_t InMilliseconds() const;
/external/libchrome/base/time/
Dtime_unittest.cc645 EXPECT_GE(delta.InMilliseconds(), 9); in TEST()
677 } while (delta.InMilliseconds() == 0); in HighResClockTest()
797 EXPECT_EQ(13, TimeDelta::FromMilliseconds(13).InMilliseconds()); in TEST()
801 EXPECT_EQ(13, TimeDelta::FromMillisecondsD(13.3).InMilliseconds()); in TEST()
901 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
Dtime.h171 int64_t InMilliseconds() const;
/external/libbrillo/brillo/streams/
Dfake_stream.cc398 LOG(INFO) << "TEST: Would have blocked for " << delay.InMilliseconds() in WaitForDataBlocking()
/external/libchrome/base/test/
Dmultiprocess_test_android.cc352 request.timeout_ms = timeout.InMilliseconds(); in WaitForChildExitWithTimeout()
/external/v8/src/
Dcounters.cc54 : timer_.Elapsed().InMilliseconds(); in Stop()

12