Home
last modified time | relevance | path

Searched refs:FromMicroseconds (Results 1 – 25 of 25) 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);
386 TimeDelta since_origin() const { return TimeDelta::FromMicroseconds(us_); } in since_origin()
395 return TimeDelta::FromMicroseconds(us_ - other.us_);
744 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/timer/
Dtimer.cc169 if (delay_ > TimeDelta::FromMicroseconds(0)) in Reset()
200 if (delay > TimeDelta::FromMicroseconds(0)) { in PostNewScheduledTask()
/external/protobuf/python/google/protobuf/internal/
Dwell_known_types_test.py148 message.FromMicroseconds(1)
153 message.FromMicroseconds(-1)
199 message.FromMicroseconds(1)
204 message.FromMicroseconds(-1)
259 message.FromMicroseconds(-1)
Dwell_known_types.py211 def FromMicroseconds(self, micros): member in Timestamp
324 def FromMicroseconds(self, micros): member in Duration
/external/libchrome/mojo/core/
Dtest_utils.cc54 base::TimeDelta::FromMicroseconds(static_cast<int64_t>(deadline))); in Sleep()
/external/v4l2_codec2/vda/
Dbitstream_buffer.h20 base::TimeDelta::FromMicroseconds(std::numeric_limits<int64_t>::min());
/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/libchrome/base/
Dsys_info.cc91 return base::TimeDelta::FromMicroseconds(uptime_in_microseconds); in Uptime()
/external/v8/src/profiler/
Dtracing-cpu-profiler.cc62 base::TimeDelta::FromMicroseconds(sampling_interval_us)); in StartProfiling()
Dcpu-profiler.cc298 sampling_interval_(base::TimeDelta::FromMicroseconds( in CpuProfiler()
/external/libchrome/mojo/public/java/system/
Dbase_run_loop.cc64 base::TimeDelta::FromMicroseconds(delay)); in JNI_BaseRunLoop_PostDelayedTask()
/external/v8/src/base/platform/
Dtime.h58 static TimeDelta FromMicroseconds(int64_t microseconds) { in FromMicroseconds() function
269 return TimeDelta::FromMicroseconds(us_ - other.us_);
Dtime.cc651 return TimeDelta::FromMicroseconds( in QPCValueToTimeDelta()
658 return TimeDelta::FromMicroseconds( in QPCValueToTimeDelta()
/external/libbrillo/brillo/
Dbackoff_entry.cc163 base::TimeTicks() + base::TimeDelta::FromMicroseconds(release_time_us), in CalculateReleaseTime()
/external/libchrome/base/process/
Dinternal_linux.cc226 return TimeDelta::FromMicroseconds( in ClockTicksToTimeDelta()
/external/libchrome/base/synchronization/
Dwaitable_event_unittest.cc232 TimeDelta delay = TimeDelta::FromMicroseconds(900); in TEST()
/external/v8/src/
Dcounters.h661 return base::TimeDelta::FromMicroseconds(time_); in time()
Dlog.cc762 base::TimeDelta::FromMicroseconds(interval_microseconds_)); in Run()
Dapi.cc10127 base::TimeDelta::FromMicroseconds(us)); in SetSamplingInterval()
/external/libchrome/base/task/sequence_manager/
Dsequence_manager_impl_unittest.cc1237 test_task_runner_->AdvanceMockTickClock(TimeDelta::FromMicroseconds(10000)); in TEST_P()