Home
last modified time | relevance | path

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

12

/external/libchrome/mojo/core/
Dtest_utils.cc42 TestTimeouts::tiny_timeout().InMicroseconds()); in TinyDeadline()
47 TestTimeouts::action_timeout().InMicroseconds()); in ActionDeadline()
66 int64_t result = (base::TimeTicks::Now() - start_time_).InMicroseconds(); in Elapsed()
/external/libchrome/mojo/public/cpp/base/
Dtime_mojom_traits.cc11 return time.since_origin().InMicroseconds(); in internal_value()
25 return delta.InMicroseconds(); in microseconds()
38 return time.since_origin().InMicroseconds(); in internal_value()
/external/libchrome/base/test/launcher/
Dtest_launcher_tracer.cc39 "ts", (event.timestamp - trace_start_time_).InMicroseconds()); in Dump()
40 json_event->SetInteger("dur", event.duration.InMicroseconds()); in Dump()
/external/libchrome/base/message_loop/
Dmessage_pump_perftest.cc142 total_time.InMicroseconds() / static_cast<double>(counter_), in ScheduleWork()
149 min_batch_time.InMicroseconds() / static_cast<double>(kBatchSize), in ScheduleWork()
156 max_batch_time.InMicroseconds() / static_cast<double>(kBatchSize), in ScheduleWork()
164 total_thread_time.InMicroseconds() / static_cast<double>(counter_), in ScheduleWork()
Dmessage_loop_task_runner_perftest.cc80 (now - start).InMicroseconds() / static_cast<double>(num_posted), in Run()
174 (now - start).InMicroseconds() / static_cast<double>(num_posted), in Run()
Dmessage_loop_perftest.cc240 tasks_posted_duration().InMicroseconds() / in TEST_P()
245 tasks_run_duration().InMicroseconds() / in TEST_P()
/external/libchrome/base/android/
Djni_android_unittest.cc53 base::TimeDelta(end_lazy - start_lazy).InMicroseconds(); in TEST()
55 base::TimeDelta(end - start).InMicroseconds(); in TEST()
Dtime_utils.cc16 return (TimeTicks::Now() - TimeTicks()).InMicroseconds(); in JNI_TimeUtils_GetTimeTicksNowUs()
/external/libchrome/base/
Dsys_info_unittest.cc116 EXPECT_GT(up_time_1.InMicroseconds(), 0); in TEST_F()
117 EXPECT_GT(up_time_2.InMicroseconds(), up_time_1.InMicroseconds()); in TEST_F()
Dsync_socket_posix.cc147 DCHECK_GT(timeout.InMicroseconds(), 0); in ReceiveWithTimeout()
148 DCHECK_LT(timeout.InMicroseconds(), in ReceiveWithTimeout()
149 TimeDelta::FromSeconds(1).InMicroseconds()); in ReceiveWithTimeout()
Drand_util_unittest.cc169 << (end - now).InMicroseconds() << "µs"; in TEST()
/external/libchrome/base/time/
Dtime.cc122 int64_t TimeDelta::InMicroseconds() const { in InMicroseconds() function in base::TimeDelta
191 return Time(delta.InMicroseconds()); in FromDeltaSinceWindowsEpoch()
389 return os << as_time_delta.InMicroseconds() << " bogo-microseconds"; in operator <<()
401 return os << as_time_delta.InMicroseconds() << " bogo-thread-microseconds"; in operator <<()
Dtime_conversion_posix.cc24 int64_t microseconds = InMicroseconds(); in ToTimeSpec()
Dtime_unittest.cc843 EXPECT_GE(delta.InMicroseconds(), 9000); in TEST()
876 if (delta.InMicroseconds() <= kTargetGranularityUs) in HighResClockTest()
1006 EXPECT_GE(delta_thread.InMicroseconds(), 0); in TEST()
1009 EXPECT_GE(difference.InMicroseconds(), 9000); in TEST()
1118 EXPECT_EQ(TimeDelta::FromMicroseconds(13).InMicroseconds(), 13); in TEST()
1119 EXPECT_EQ(TimeDelta::FromMicrosecondsD(13.3).InMicroseconds(), 13); in TEST()
/external/libchrome/base/threading/
Dthread_perftest.cc102 double us_per_task_clock = (end - start).InMicroseconds() / num_runs; in RunPingPongTest()
103 double us_per_task_cpu = thread_time.InMicroseconds() / num_runs; in RunPingPongTest()
Dplatform_thread_posix.cc185 sleep_time.tv_nsec = duration.InMicroseconds() * 1000; // nanoseconds in Sleep()
/external/libbrillo/brillo/
Dbackoff_entry.cc140 (ImplGetTimeNow() - base::TimeTicks()).InMicroseconds(); in CalculateReleaseTime()
/external/libchrome/components/timers/
Dalarm_timer_chromeos.cc81 (delay.InMicroseconds() % base::Time::kMicrosecondsPerSecond) * in Reset()
/external/libchrome/base/process/
Dprocess_metrics.cc28 int64_t time_delta = (time - *last_calculated).InMicroseconds(); in CalculateEventsPerSecond()
/external/libchrome/base/synchronization/
Dcondition_variable_posix.cc81 int64_t usecs = max_time.InMicroseconds(); in TimedWait()
/external/openscreen/third_party/chromium_quic/demo/
Dserver.cc121 if (next_task.delay.InMicroseconds() < 0) { in main()
Dclient.cc115 if (next_task.delay.InMicroseconds() < 0) { in main()
/external/libchrome/base/metrics/
Dhistogram_base.cc125 Add(saturated_cast<Sample>(time.InMicroseconds())); in AddTimeMicrosecondsGranularity()
/external/libchrome/base/task/sequence_manager/
Dsequence_manager_perftest.cc189 (now - start).InMicroseconds() / static_cast<double>(num_iterations), in Benchmark()
/external/libchrome/libchrome_tools/patches/
Dcomponents-timers-fix-fd-leak-in-AlarmTimer.patch25 (delay.InMicroseconds() % base::Time::kMicrosecondsPerSecond) *

12