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.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_base.cc117 Add(saturated_cast<Sample>(time.InMilliseconds())); in AddTimeMillisecondsGranularity()
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_unittest.cc308 EXPECT_EQ(20000, custom.GetTimeUntilRelease().InMilliseconds()); in TEST()
/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/v8/src/base/platform/
Dcondition-variable.cc144 int64_t msec = rel_time.InMilliseconds();
Dsemaphore.cc169 int64_t msec = (end - now).InMilliseconds();
Dtime.h95 int64_t InMilliseconds() const;
Dtime.cc213 int64_t TimeDelta::InMilliseconds() const { in InMilliseconds() function in v8::base::TimeDelta
Dplatform-win32.cc890 ::Sleep(static_cast<DWORD>(interval.InMilliseconds())); in Sleep()
/external/libchrome/base/sampling_heap_profiler/
Dsampling_heap_profiler_unittest.cc128 (base::TimeTicks::Now() - t0).InMilliseconds()); in CheckAllocationPattern()
/external/v8/src/
Dcounters.cc89 : timer->Elapsed().InMilliseconds(); in Stop()
105 : base::TimeDelta::Max().InMilliseconds(); in RecordAbandon()
/external/libchrome/base/test/metrics/
Dhistogram_tester.cc76 ExpectBucketCount(name, sample.InMilliseconds(), count); in ExpectTimeBucketCount()
/external/libbrillo/brillo/streams/
Dfake_stream.cc397 LOG(INFO) << "TEST: Would have blocked for " << delay.InMilliseconds() in WaitForDataBlocking()
/external/libchrome/base/
Dobserver_list_unittest.cc148 if ((Time::Now() - start_).InMilliseconds() > kThreadRunTime) { in AddTask()
626 if ((Time::Now() - start).InMilliseconds() > kThreadRunTime) in ThreadSafeObserverHarness()