Home
last modified time | relevance | path

Searched refs:Nanoseconds (Results 1 – 3 of 3) sorted by relevance

/device/google/cuttlefish/guest/hals/hwcomposer/common/
Dstats_keeper.h35 cuttlefish::time::Nanoseconds prepare_time, in CompositionData()
36 cuttlefish::time::Nanoseconds set_calls_time) in CompositionData()
52 cuttlefish::time::Nanoseconds prepare_time() const { return prepare_time_; } in prepare_time()
54 cuttlefish::time::Nanoseconds set_calls_time() const { return set_calls_time_; } in set_calls_time()
61 cuttlefish::time::Nanoseconds prepare_time_;
62 cuttlefish::time::Nanoseconds set_calls_time_;
124 cuttlefish::time::Nanoseconds prepare_call_total_time_ GUARDED_BY(mutex_);
125 cuttlefish::time::Nanoseconds set_call_total_time_ GUARDED_BY(mutex_);
130 std::multiset<cuttlefish::time::Nanoseconds> prepare_call_times_ GUARDED_BY(mutex_);
131 std::multiset<cuttlefish::time::Nanoseconds> set_call_times_ GUARDED_BY(mutex_);
Dstats_keeper.cpp35 using cuttlefish::time::Nanoseconds;
111 Nanoseconds(last_composition_stats_.set_start.SinceEpoch()).count(); in RecordPrepareStart()
114 MonotonicTimePoint() + Nanoseconds(last_vsync); in RecordPrepareStart()
140 Nanoseconds(prepare_call_total_time_ - front.prepare_time()); in RecordSetEnd()
142 Nanoseconds(set_call_total_time_ - front.set_calls_time()); in RecordSetEnd()
156 Nanoseconds last_prepare_call_time_(last_composition_stats_.prepare_end - in RecordSetEnd()
158 Nanoseconds last_set_call_total_time_(last_composition_stats_.set_end - in RecordSetEnd()
172 Nanoseconds(prepare_call_total_time_ + last_prepare_call_time_); in RecordSetEnd()
174 Nanoseconds(set_call_total_time_ + last_set_call_total_time_); in RecordSetEnd()
/device/google/cuttlefish/common/libs/time/
Dmonotonic_time.h273 class Nanoseconds : public TimeDifference {
275 explicit Nanoseconds(const TimeDifference& difference) : in Nanoseconds() function
277 Nanoseconds(int64_t ns) : TimeDifference(ns / kNanosecondsPerSecond, in Nanoseconds() function