Home
last modified time | relevance | path

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

/external/libchrome/base/synchronization/
Dspin_wait.h42 EXPECT_LE((base::TimeTicks::Now() - start).InMilliseconds(), \
43 kTimeout.InMilliseconds()) << "Timed out"; \
/external/libchrome/base/metrics/
Dsparse_histogram_unittest.cc301 int64_t create_ms = create_ticks.InMilliseconds(); in TEST_P()
321 int64_t lookup_ms = lookup_ticks.InMilliseconds(); in TEST_P()
336 int64_t add_ms = add_ticks.InMilliseconds(); in TEST_P()
Dhistogram_base.cc117 Add(saturated_cast<Sample>(time.InMilliseconds())); in AddTimeMillisecondsGranularity()
Dhistogram.cc266 return FactoryGet(name, static_cast<Sample>(minimum.InMilliseconds()), in FactoryTimeGet()
267 static_cast<Sample>(maximum.InMilliseconds()), bucket_count, in FactoryTimeGet()
882 return FactoryGet(name, static_cast<Sample>(minimum.InMilliseconds()), in FactoryTimeGet()
883 static_cast<Sample>(maximum.InMilliseconds()), bucket_count, in FactoryTimeGet()
Dhistogram_unittest.cc701 int64_t create_ms = create_ticks.InMilliseconds(); in TEST_P()
721 int64_t lookup_ms = lookup_ticks.InMilliseconds(); in TEST_P()
736 int64_t add_ms = add_ticks.InMilliseconds(); in TEST_P()
/external/libchrome/base/message_loop/
Dincoming_task_queue.cc34 DCHECK_EQ(delay.InMilliseconds(), 0) << "delay should not be negative"; in CalculateDelayedRuntime()
70 delay.InMilliseconds() < (2 * Time::kMinLowResolutionThresholdMs)) { in AddToIncomingQueue()
Dmessage_loop_unittest.cc443 EXPECT_GT(5000, total_time.InMilliseconds()); in RunTest_PostDelayedTask_SharedTimer_SubPump()
1025 EXPECT_GT(5000, total_time.InMilliseconds()); in TEST_P()
/external/libchrome/base/test/
Dmultiprocess_test_android.cc65 env, process.Pid(), static_cast<int32_t>(timeout.InMilliseconds())); in WaitForMultiprocessTestChildExit()
/external/libbrillo/brillo/
Dbackoff_entry.cc79 (now - exponential_backoff_release_time_).InMilliseconds(); in CanDiscard()
Dbackoff_entry_test.cc308 EXPECT_EQ(20000, custom.GetTimeUntilRelease().InMilliseconds()); in TEST()
Dbackoff_entry_unittest.cc308 EXPECT_EQ(20000, custom.GetTimeUntilRelease().InMilliseconds()); in TEST()
/external/libchrome/base/threading/
Dwatchdog.cc132 if (remaining_duration.InMilliseconds() > 0) { in ThreadMain()
/external/libchrome/base/time/
Dtime_unittest.cc842 EXPECT_GE(delta.InMilliseconds(), 9); in TEST()
874 } while (delta.InMilliseconds() == 0); in HighResClockTest()
1112 EXPECT_EQ(TimeDelta::FromMilliseconds(13).InMilliseconds(), 13); in TEST()
1116 EXPECT_EQ(TimeDelta::FromMillisecondsD(13.3).InMilliseconds(), 13); in TEST()
1134 EXPECT_EQ(TimeDelta::FromMicroseconds(999).InMilliseconds(), 0); in TEST()
1135 EXPECT_EQ(TimeDelta::FromMicroseconds(-999).InMilliseconds(), 0); in TEST()
1281 EXPECT_EQ(kMax.InMilliseconds(), std::numeric_limits<int64_t>::max()); in TEST()
Dtime.cc101 int64_t TimeDelta::InMilliseconds() const { in InMilliseconds() function in base::TimeDelta
Dtime.h196 int64_t InMilliseconds() const;
/external/libchrome/base/sampling_heap_profiler/
Dsampling_heap_profiler_unittest.cc128 (base::TimeTicks::Now() - t0).InMilliseconds()); in CheckAllocationPattern()
/external/libchrome/base/test/metrics/
Dhistogram_tester.cc76 ExpectBucketCount(name, sample.InMilliseconds(), count); in ExpectTimeBucketCount()
/external/openscreen/osp/impl/quic/
Dquic_connection_factory_impl.cc52 Clock::duration wait = Clock::duration(delay.InMilliseconds()); in PostDelayedTask()
/external/libbrillo/brillo/streams/
Dfake_stream.cc398 LOG(INFO) << "TEST: Would have blocked for " << delay.InMilliseconds() in WaitForDataBlocking()
/external/libchrome/base/task_scheduler/
Dscheduler_single_thread_task_runner_manager.cc234 sleep_time.is_max() ? INFINITE : sleep_time.InMilliseconds(); in WaitForWork()
/external/libchrome/base/test/launcher/
Dtest_results_tracker.cc354 static_cast<int>(test_result.elapsed_time.InMilliseconds())); in SaveSummaryAsJSON()
Dtest_launcher.cc693 result.elapsed_time.InMilliseconds())); in OnTestFinished()
/external/libchrome/base/
Dobserver_list_unittest.cc148 if ((Time::Now() - start_).InMilliseconds() > kThreadRunTime) { in AddTask()
626 if ((Time::Now() - start).InMilliseconds() > kThreadRunTime) in ThreadSafeObserverHarness()