Home
last modified time | relevance | path

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

/device/google/cuttlefish_common/guest/hals/hwcomposer/vsoc/
Dstats_keeper.h35 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_);
Dstats_keeper.cpp31 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()
/device/google/cuttlefish_common/common/libs/utils/
Dsimulated_buffer_test.cpp23 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 …]
Dsimulated_buffer.h121 cvd::time::Nanoseconds(now - base_time_).count() * in Update()
140 cvd::time::Nanoseconds(divide_and_round_up( in CalculateItemTime()
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/
DEmuThunk.c292 IN UINT64 Nanoseconds in SecSleep() argument
299 rq.tv_sec = DivU64x32 (Nanoseconds, 1000000000); in SecSleep()
300 rq.tv_nsec = ModU64x32 (Nanoseconds, 1000000000); in SecSleep()
DHost.h343 VOID SecSleep (UINT64 Nanoseconds);
DGasket.h129 IN UINT64 Nanoseconds
/device/google/cuttlefish_common/guest/hals/sensors/
Dvsoc_sensors.cpp39 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()
Dvsoc_sensors.h207 const static cvd::time::Nanoseconds kInjectedEventWaitTime;
Dsensors.h77 cvd::time::Nanoseconds sampling_period_;
/device/google/cuttlefish_common/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
/device/google/cuttlefish_common/guest/hals/audio/legacy/
Dvsoc_audio_output_stream.cpp85 *nstime = cvd::time::Nanoseconds( in GetNextWriteTimestamp()