Searched refs:FromNanoseconds (Results 1 – 13 of 13) sorted by relevance
28 static constexpr TimeDelta FromNanoseconds(int64_t nanos) { in FromNanoseconds() function32 return FromNanoseconds(micros * 1000); in FromMicroseconds()42 return FromNanoseconds(seconds * (1000.0 * 1000.0 * 1000.0)); in FromSecondsF()60 return TimeDelta::FromNanoseconds(delta_ - other.delta_);64 return TimeDelta::FromNanoseconds(delta_ + other.delta_);68 return TimeDelta::FromNanoseconds(delta_ / divisor);76 return TimeDelta::FromNanoseconds(delta_ * multiplier);80 return TimeDelta::FromNanoseconds(delta_ % other.delta_);92 TimeDelta::FromNanoseconds(ts.tv_nsec); in FromTimespec()
25 TimeDelta delta = TimeDelta::FromNanoseconds(102304506708ll); in TEST()34 TimeDelta delta = TimeDelta::FromNanoseconds(102304506708ll); in TEST()
41 TimeDelta ToEpochDelta() const { return TimeDelta::FromNanoseconds(ticks_); } in ToEpochDelta()45 return TimeDelta::FromNanoseconds(ticks_ - other.ticks_);
31 return {fml::TimePoint::FromEpochDelta(fml::TimeDelta::FromNanoseconds( in GetCurrentVsyncInfo()33 fml::TimeDelta::FromNanoseconds( in GetCurrentVsyncInfo()
61 fml::TimeDelta::FromNanoseconds(frameTimeNanos)); in OnNativeVsync()63 fml::TimeDelta::FromNanoseconds(frameTargetTimeNanos)); in OnNativeVsync()
68 fml::TimeDelta::FromNanoseconds(frameTimeNanos)); in OnNativeVsync()70 fml::TimeDelta::FromNanoseconds(frameTargetTimeNanos)); in OnNativeVsync()
56 … auto frame_time = fml::TimePoint::FromEpochDelta(fml::TimeDelta::FromNanoseconds(nanoTimestamp)); in VSyncCallback()58 … fml::TimePoint::FromEpochDelta(fml::TimeDelta::FromNanoseconds(nanoTimestamp + refreshPeriod)); in VSyncCallback()
150 message.FromNanoseconds(1)155 message.FromNanoseconds(-1)190 message.FromNanoseconds(1999)196 message.FromNanoseconds(-1999)201 message.FromNanoseconds(1)206 message.FromNanoseconds(-1)241 message.FromNanoseconds(1999)245 message.FromNanoseconds(-1999)288 message.FromNanoseconds(1999999999)293 message.FromNanoseconds(-1999999999)
219 def FromNanoseconds(self, nanos): member in Timestamp345 def FromNanoseconds(self, nanos): member in Duration
1070 fml::TimeDelta::FromNanoseconds(frame_start_time_nanos)); in FlutterEngineOnVsync()1073 fml::TimeDelta::FromNanoseconds(frame_target_time_nanos)); in FlutterEngineOnVsync()
1312 fml::TimeDelta::FromNanoseconds(frame_start_time_nanos)); in FlutterEngineOnVsync()1315 fml::TimeDelta::FromNanoseconds(frame_target_time_nanos)); in FlutterEngineOnVsync()
135 fml::TimeDelta::FromNanoseconds(target_time_nanos)); in GetEmbedderDescription()211 fml::TimeDelta::FromNanoseconds(FlutterEngineGetCurrentTime())); in TEST()
29 fml::TimeDelta::FromNanoseconds(0))), in TestIOManager()