Searched refs:Nanoseconds (Results 1 – 12 of 12) sorted by relevance
35 cvd::time::Nanoseconds prepare_time, in CompositionData()36 cvd::time::Nanoseconds set_calls_time) in CompositionData()52 cvd::time::Nanoseconds prepare_time() const { return prepare_time_; } in prepare_time()54 cvd::time::Nanoseconds set_calls_time() const { return set_calls_time_; } in set_calls_time()61 cvd::time::Nanoseconds prepare_time_;62 cvd::time::Nanoseconds set_calls_time_;124 cvd::time::Nanoseconds prepare_call_total_time_ GUARDED_BY(mutex_);125 cvd::time::Nanoseconds set_call_total_time_ GUARDED_BY(mutex_);130 std::multiset<cvd::time::Nanoseconds> prepare_call_times_ GUARDED_BY(mutex_);131 std::multiset<cvd::time::Nanoseconds> set_call_times_ GUARDED_BY(mutex_);
31 using cvd::time::Nanoseconds;109 Nanoseconds(last_composition_stats_.set_start.SinceEpoch()).count(); in RecordPrepareStart()112 MonotonicTimePoint() + Nanoseconds(last_vsync); in RecordPrepareStart()138 Nanoseconds(prepare_call_total_time_ - front.prepare_time()); in RecordSetEnd()140 Nanoseconds(set_call_total_time_ - front.set_calls_time()); in RecordSetEnd()154 Nanoseconds last_prepare_call_time_(last_composition_stats_.prepare_end - in RecordSetEnd()156 Nanoseconds last_set_call_total_time_(last_composition_stats_.set_end - in RecordSetEnd()170 Nanoseconds(prepare_call_total_time_ + last_prepare_call_time_); in RecordSetEnd()172 Nanoseconds(set_call_total_time_ + last_set_call_total_time_); in RecordSetEnd()
23 using cvd::time::Nanoseconds;189 Nanoseconds quarter_drain_time( in TEST_F()212 test_time += Nanoseconds(3 * quarter_drain_time.count()); in TEST_F()219 test_time += Nanoseconds(quarter_drain_time.count() - 1); in TEST_F()224 test_time += Nanoseconds(1); in TEST_F()244 test_time += Nanoseconds(6 * quarter_drain_time.count()); in TEST_F()288 Nanoseconds half_drain_time( in TEST_F()291 Nanoseconds quarter_drain_time(half_drain_time.count() / 2); in TEST_F()312 test_time += Nanoseconds(half_drain_time.count() * 2 - 1); in TEST_F()317 test_time += Nanoseconds(1); in TEST_F()[all …]
121 cvd::time::Nanoseconds(now - base_time_).count() * in Update()140 cvd::time::Nanoseconds(divide_and_round_up( in CalculateItemTime()
292 IN UINT64 Nanoseconds in SecSleep() argument299 rq.tv_sec = DivU64x32 (Nanoseconds, 1000000000); in SecSleep()300 rq.tv_nsec = ModU64x32 (Nanoseconds, 1000000000); in SecSleep()
343 VOID SecSleep (UINT64 Nanoseconds);
129 IN UINT64 Nanoseconds
39 using cvd::time::Nanoseconds;46 const Nanoseconds GceSensors::kInjectedEventWaitTime =47 Nanoseconds(Milliseconds(20));186 sensor_states_[handle]->sampling_period_ = Nanoseconds(sampling_period_ns); in SetDelay()200 Milliseconds(Nanoseconds(sampling_period_ns)).count()); in SetDelay()
207 const static cvd::time::Nanoseconds kInjectedEventWaitTime;
77 cvd::time::Nanoseconds sampling_period_;
273 class Nanoseconds : public TimeDifference {275 explicit Nanoseconds(const TimeDifference& difference) : in Nanoseconds() function277 Nanoseconds(int64_t ns) : TimeDifference(ns / kNanosecondsPerSecond, in Nanoseconds() function
85 *nstime = cvd::time::Nanoseconds( in GetNextWriteTimestamp()