Home
last modified time | relevance | path

Searched refs:FromMicroseconds (Results 1 – 24 of 24) sorted by relevance

/external/libchrome/base/time/
Dtime_unittest.cc127 const TimeDelta delta = TimeDelta::FromMicroseconds(123); in TEST_F()
504 t = Time::UnixEpoch() - TimeDelta::FromMicroseconds(1); in TEST_F()
516 t = Time::UnixEpoch() - TimeDelta::FromMicroseconds(1000); in TEST_F()
528 t = Time::UnixEpoch() - TimeDelta::FromMicroseconds(1001); in TEST_F()
577 t = Time::UnixEpoch() + TimeDelta::FromMicroseconds(1); in TEST_F()
589 t = Time::UnixEpoch() + TimeDelta::FromMicroseconds(1000); in TEST_F()
1015 base::TimeDelta interval = base::TimeDelta::FromMicroseconds(1000); in TEST()
1058 base::TimeDelta interval = base::TimeDelta::FromMicroseconds(4000); in TEST()
1101 TimeDelta::FromMilliseconds(2) == TimeDelta::FromMicroseconds(2000), ""); in TEST()
1105 TimeDelta::FromMillisecondsD(2.5) == TimeDelta::FromMicroseconds(2500), in TEST()
[all …]
Dtime_now_posix.cc74 return Time() + TimeDelta::FromMicroseconds( in TimeNowIgnoringOverride()
89 return TimeTicks() + TimeDelta::FromMicroseconds(ClockNow(CLOCK_MONOTONIC)); in TimeTicksNowIgnoringOverride()
115 TimeDelta::FromMicroseconds(ClockNow(CLOCK_THREAD_CPUTIME_ID)); in ThreadTicksNowIgnoringOverride()
Dtime.h119 static constexpr TimeDelta FromMicroseconds(int64_t us);
384 TimeDelta since_origin() const { return TimeDelta::FromMicroseconds(us_); } in since_origin()
393 return TimeDelta::FromMicroseconds(us_ - other.us_);
742 constexpr TimeDelta TimeDelta::FromMicroseconds(int64_t us) { in FromMicroseconds() function
Dtime.cc195 return TimeDelta::FromMicroseconds(us_); in ToDeltaSinceWindowsEpoch()
/external/libchrome/mojo/public/cpp/base/
Dtime_mojom_traits.cc18 base::Time() + base::TimeDelta::FromMicroseconds(data.internal_value()); in Read()
31 *delta = base::TimeDelta::FromMicroseconds(data.microseconds()); in Read()
45 base::TimeDelta::FromMicroseconds(data.internal_value()); in Read()
/external/libchrome/base/android/
Dearly_trace_event_binding.cc34 ThreadTicks::Now() + TimeDelta::FromMicroseconds(thread_duration_us), in JNI_EarlyTraceEvent_RecordEarlyEvent()
49 base::TimeTicks() + base::TimeDelta::FromMicroseconds(timestamp_us)); in JNI_EarlyTraceEvent_RecordEarlyStartAsyncEvent()
63 base::TimeTicks() + base::TimeDelta::FromMicroseconds(timestamp_us)); in JNI_EarlyTraceEvent_RecordEarlyFinishAsyncEvent()
/external/libchrome/base/timer/
Dtimer.cc169 if (delay_ > TimeDelta::FromMicroseconds(0)) in Reset()
200 if (delay > TimeDelta::FromMicroseconds(0)) { in PostNewScheduledTask()
/external/libchrome/mojo/core/
Dtest_utils.cc54 base::TimeDelta::FromMicroseconds(static_cast<int64_t>(deadline))); in Sleep()
/external/libchrome/base/
Dsys_info.cc91 return base::TimeDelta::FromMicroseconds(uptime_in_microseconds); in Uptime()
/external/libchrome/mojo/public/java/system/
Dbase_run_loop.cc64 base::TimeDelta::FromMicroseconds(delay)); in JNI_BaseRunLoop_PostDelayedTask()
/external/libchrome/base/files/
Dfile_posix.cc151 TimeDelta::FromMicroseconds(last_modified_nsec / in FromStat()
156 TimeDelta::FromMicroseconds(last_accessed_nsec / in FromStat()
161 TimeDelta::FromMicroseconds(creation_time_nsec / in FromStat()
/external/libchrome/base/metrics/
Dhistogram_base_unittest.cc248 TimeDelta::FromMicroseconds(large_positive)); in TEST_F()
266 TimeDelta::FromMicroseconds(large_negative)); in TEST_F()
/external/libbrillo/brillo/
Dbackoff_entry.cc163 base::TimeTicks() + base::TimeDelta::FromMicroseconds(release_time_us), in CalculateReleaseTime()
/external/protobuf/python/google/protobuf/internal/
Dwell_known_types_test.py160 message.FromMicroseconds(1)
165 message.FromMicroseconds(-1)
211 message.FromMicroseconds(1)
216 message.FromMicroseconds(-1)
299 message.FromMicroseconds(-1)
Dwell_known_types.py220 def FromMicroseconds(self, micros): member in Timestamp
346 def FromMicroseconds(self, micros): member in Duration
/external/openscreen/third_party/chromium_quic/demo/
Dserver.cc119 next_task.delay -= base::TimeDelta::FromMicroseconds( in main()
Dclient.cc113 next_task.delay -= base::TimeDelta::FromMicroseconds( in main()
/external/libchrome/base/test/
Dgtest_xml_util.cc125 result.elapsed_time = TimeDelta::FromMicroseconds( in ProcessGTestOutput()
/external/libchrome/base/process/
Dinternal_linux.cc226 return TimeDelta::FromMicroseconds( in ClockTicksToTimeDelta()
/external/v4l2_codec2/components/
DVideoFramePool.cpp195 ::base::TimeDelta::FromMicroseconds(sDelay)); in getVideoFrameTask()
DV4L2Encoder.cpp864 ::base::TimeDelta timestamp = ::base::TimeDelta::FromMicroseconds( in dequeueOutputBuffer()
/external/libchrome/base/synchronization/
Dwaitable_event_unittest.cc232 TimeDelta delay = TimeDelta::FromMicroseconds(900); in TEST()
/external/libchrome/base/task_scheduler/
Dtask_tracker.cc97 histogram, TimeDelta::FromMicroseconds(1), in GetLatencyHistogram()
/external/libchrome/base/task/sequence_manager/
Dsequence_manager_impl_unittest.cc1237 test_task_runner_->AdvanceMockTickClock(TimeDelta::FromMicroseconds(10000)); in TEST_P()