Home
last modified time | relevance | path

Searched refs:InMicroseconds (Results 1 – 25 of 35) 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/v8/src/base/platform/
Delapsed-timer.h59 DCHECK_GE(elapsed.InMicroseconds(), 0); in Restart()
70 DCHECK_GE(elapsed.InMicroseconds(), 0); in Elapsed()
/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()
/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/v8/src/
Dcounters.cc88 ? timer->Elapsed().InMicroseconds() in Stop()
104 ? base::TimeDelta::Max().InMicroseconds() in RecordAbandon()
346 time_(time.InMicroseconds()), in Entry()
370 if (total_time.InMicroseconds() == 0) { in SetTotal()
373 time_percent_ = 100.0 * time_ / total_time.InMicroseconds(); in SetTotal()
405 time_ += other->time().InMicroseconds(); in Add()
Dlog.cc1050 msg << "code-deopt" << kNext << timer_.Elapsed().InMicroseconds() << kNext in CodeDeoptEvent()
1077 msg << "current-time" << kNext << timer_.Elapsed().InMicroseconds(); in CurrentTimeEvent()
1095 msg << kNext << name << kNext << timer_.Elapsed().InMicroseconds(); in TimerEvent()
1182 << kNext << timer_.Elapsed().InMicroseconds() << kNext in CallbackEventInternal()
1211 << Logger::kNext << timer->Elapsed().InMicroseconds() << Logger::kNext in AppendCodeCreateHeader()
1513 << timer->Elapsed().InMicroseconds() << Logger::kNext; in AppendFunctionMessage()
1553 << Logger::kNext << timer_.Elapsed().InMicroseconds(); in CompilationCacheEvent()
1579 << timer_.Elapsed().InMicroseconds(); in ScriptEvent()
1647 << timer_.Elapsed().InMicroseconds(); in TickEvent()
1701 msg << "map" << kNext << type << kNext << timer_.Elapsed().InMicroseconds() in MapEvent()
[all …]
Dfutex-emulation.cc214 DCHECK_GE(time_until_timeout.InMicroseconds(), 0); in Wait()
/external/libchrome/base/message_loop/
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()
Dmessage_pump_libevent.cc243 poll_tv.tv_usec = delay.InMicroseconds() % Time::kMicrosecondsPerSecond; in Run()
/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()
Dprocess_posix.cc72 int64_t sleep_time_usecs = (wakeup_time - now).InMicroseconds(); in WaitpidWithTimeout()
/external/libchrome/base/synchronization/
Dcondition_variable_posix.cc81 int64_t usecs = max_time.InMicroseconds(); in TimedWait()
/external/libchrome/base/metrics/
Dhistogram_base.cc125 Add(saturated_cast<Sample>(time.InMicroseconds())); in AddTimeMicrosecondsGranularity()
/external/libchrome/base/threading/
Dplatform_thread_posix.cc185 sleep_time.tv_nsec = duration.InMicroseconds() * 1000; // nanoseconds in Sleep()
/external/v8/src/profiler/
Dprofile-generator.cc403 (start_time_ - base::TimeTicks()).InMicroseconds()); in CpuProfile()
488 static_cast<int>((timestamps_[i] - lastTimestamp).InMicroseconds())); in StreamPendingTraceEvents()
504 value->SetDouble("endTime", (end_time_ - base::TimeTicks()).InMicroseconds()); in FinishProfile()
/external/libchrome/base/task/sequence_manager/
Dsequence_manager_perftest.cc189 (now - start).InMicroseconds() / static_cast<double>(num_iterations), in Benchmark()

12