Home
last modified time | relevance | path

Searched refs:nsecs_t (Results 1 – 25 of 71) sorted by relevance

123

/hardware/qcom/camera/msm8998/QCamera2/util/
DQCameraDisplay.h48 void computeAverageVsyncInterval(nsecs_t currentVsyncTimeStamp);
49 nsecs_t computePresentationTimeStamp(nsecs_t frameTimeStamp);
53 nsecs_t mVsyncTimeStamp;
54 nsecs_t mAvgVsyncInterval;
55 nsecs_t mOldTimeStamp;
56 nsecs_t mVsyncIntervalHistory[CAMERA_NUM_VSYNC_INTERVAL_HISTORY];
57 nsecs_t mVsyncHistoryIndex;
58 nsecs_t mAdditionalVsyncOffsetForWiggle;
65 nsecs_t mSet_timestamp_num_ns_prior_to_vsync;
69 nsecs_t mVfe_and_mdp_freq_wiggle_filter_max_ns;
[all …]
DQCameraDisplay.cpp138 nsecs_t default_vsync_interval; in QCameraDisplay()
198 void QCameraDisplay::computeAverageVsyncInterval(nsecs_t currentVsyncTimeStamp) in computeAverageVsyncInterval()
200 nsecs_t sum; in computeAverageVsyncInterval()
201 nsecs_t vsyncMaxOutlier; in computeAverageVsyncInterval()
202 nsecs_t vsyncMinOutlier; in computeAverageVsyncInterval()
239 nsecs_t QCameraDisplay::computePresentationTimeStamp(nsecs_t frameTimeStamp) in computePresentationTimeStamp()
241 nsecs_t moveToNextVsync; in computePresentationTimeStamp()
242 nsecs_t keepInCurrentVsync; in computePresentationTimeStamp()
243 nsecs_t timeDifference = 0; in computePresentationTimeStamp()
244 nsecs_t presentationTimeStamp = 0; in computePresentationTimeStamp()
/hardware/qcom/sm8150/display/libhistogram/
Dringbuffer.h34 virtual nsecs_t current_time() const = 0;
44 nsecs_t current_time() const final;
57 Sample collect_after(nsecs_t timestamp) const;
59 Sample collect_max_after(nsecs_t timestamp, uint32_t max_frames) const;
68 …Sample collect_max_after(nsecs_t timestamp, uint32_t max_frames, std::unique_lock<std::mutex> cons…
69 …void update_cumulative(nsecs_t now, uint64_t& count, std::array<uint64_t, HIST_V_SIZE>& bins) cons…
74 nsecs_t start_timestamp;
75 nsecs_t end_timestamp;
Dringbuffer.cpp21 nsecs_t histogram::DefaultTimeKeeper::current_time() const { in current_time()
39 void histogram::Ringbuffer::update_cumulative(nsecs_t now, in update_cumulative()
95 nsecs_t timestamp) const { in collect_after()
106 nsecs_t timestamp, uint32_t max_frames) const { in collect_max_after()
119 nsecs_t end_timestamp = it->end_timestamp; in collect_max()
133 nsecs_t timestamp, uint32_t max_frames, std::unique_lock<std::mutex> const& lk) const { in collect_max_after()
/hardware/qcom/sdm845/display/libhistogram/
Dringbuffer.h34 virtual nsecs_t current_time() const = 0;
44 nsecs_t current_time() const final;
57 Sample collect_after(nsecs_t timestamp) const;
59 Sample collect_max_after(nsecs_t timestamp, uint32_t max_frames) const;
68 …Sample collect_max_after(nsecs_t timestamp, uint32_t max_frames, std::unique_lock<std::mutex> cons…
69 …void update_cumulative(nsecs_t now, uint64_t& count, std::array<uint64_t, HIST_V_SIZE>& bins) cons…
74 nsecs_t start_timestamp;
75 nsecs_t end_timestamp;
Dringbuffer.cpp21 nsecs_t histogram::DefaultTimeKeeper::current_time() const { in current_time()
39 void histogram::Ringbuffer::update_cumulative(nsecs_t now, in update_cumulative()
95 nsecs_t timestamp) const { in collect_after()
106 nsecs_t timestamp, uint32_t max_frames) const { in collect_max_after()
119 nsecs_t end_timestamp = it->end_timestamp; in collect_max()
133 nsecs_t timestamp, uint32_t max_frames, std::unique_lock<std::mutex> const& lk) const { in collect_max_after()
/hardware/qcom/display/msm8909/libqdutils/
Dprofiler.h85 nsecs_t ignorethresh_us;
92 nsecs_t framearrivals[MAX_FPS_CALC_PERIOD_IN_FRAMES];
93 nsecs_t accum_framearrivals[MAX_FRAMEARRIVAL_STEPS];
99 void calc_fps(nsecs_t currtime_us);
Dprofiler.cpp148 void CalcFps::calc_fps(nsecs_t currtime_us) in calc_fps()
150 static nsecs_t oldtime_us = 0; in calc_fps()
152 nsecs_t diff = currtime_us - oldtime_us; in calc_fps()
179 nsecs_t sum = 0; in calc_fps()
/hardware/qcom/display/msm8909w_3100/libqdutils/
Dprofiler.h85 nsecs_t ignorethresh_us;
92 nsecs_t framearrivals[MAX_FPS_CALC_PERIOD_IN_FRAMES];
93 nsecs_t accum_framearrivals[MAX_FRAMEARRIVAL_STEPS];
99 void calc_fps(nsecs_t currtime_us);
Dprofiler.cpp148 void CalcFps::calc_fps(nsecs_t currtime_us) in calc_fps()
150 static nsecs_t oldtime_us = 0; in calc_fps()
152 nsecs_t diff = currtime_us - oldtime_us; in calc_fps()
179 nsecs_t sum = 0; in calc_fps()
/hardware/qcom/display/msm8996/libqdutils/
Dprofiler.h85 nsecs_t ignorethresh_us;
92 nsecs_t framearrivals[MAX_FPS_CALC_PERIOD_IN_FRAMES];
93 nsecs_t accum_framearrivals[MAX_FRAMEARRIVAL_STEPS];
99 void calc_fps(nsecs_t currtime_us);
Dprofiler.cpp147 void CalcFps::calc_fps(nsecs_t currtime_us) in calc_fps()
149 static nsecs_t oldtime_us = 0; in calc_fps()
151 nsecs_t diff = currtime_us - oldtime_us; in calc_fps()
178 nsecs_t sum = 0; in calc_fps()
/hardware/qcom/display/msm8998/libqdutils/
Dprofiler.h86 nsecs_t ignorethresh_us;
93 nsecs_t framearrivals[MAX_FPS_CALC_PERIOD_IN_FRAMES];
94 nsecs_t accum_framearrivals[MAX_FRAMEARRIVAL_STEPS];
100 void calc_fps(nsecs_t currtime_us);
Dprofiler.cpp148 void CalcFps::calc_fps(nsecs_t currtime_us) in calc_fps()
150 static nsecs_t oldtime_us = 0; in calc_fps()
152 nsecs_t diff = currtime_us - oldtime_us; in calc_fps()
179 nsecs_t sum = 0; in calc_fps()
/hardware/qcom/display/msm8994/libqdutils/
Dprofiler.h85 nsecs_t ignorethresh_us;
92 nsecs_t framearrivals[MAX_FPS_CALC_PERIOD_IN_FRAMES];
93 nsecs_t accum_framearrivals[MAX_FRAMEARRIVAL_STEPS];
99 void calc_fps(nsecs_t currtime_us);
Dprofiler.cpp147 void CalcFps::calc_fps(nsecs_t currtime_us) in calc_fps()
149 static nsecs_t oldtime_us = 0; in calc_fps()
151 nsecs_t diff = currtime_us - oldtime_us; in calc_fps()
178 nsecs_t sum = 0; in calc_fps()
/hardware/qcom/display/msm8960/libqdutils/
Dprofiler.h85 nsecs_t ignorethresh_us;
92 nsecs_t framearrivals[MAX_FPS_CALC_PERIOD_IN_FRAMES];
93 nsecs_t accum_framearrivals[MAX_FRAMEARRIVAL_STEPS];
99 void calc_fps(nsecs_t currtime_us);
Dprofiler.cpp144 void CalcFps::calc_fps(nsecs_t currtime_us) in calc_fps()
146 static nsecs_t oldtime_us = 0; in calc_fps()
148 nsecs_t diff = currtime_us - oldtime_us; in calc_fps()
174 nsecs_t sum = 0; in calc_fps()
/hardware/qcom/display/msm8226/libqdutils/
Dprofiler.h85 nsecs_t ignorethresh_us;
92 nsecs_t framearrivals[MAX_FPS_CALC_PERIOD_IN_FRAMES];
93 nsecs_t accum_framearrivals[MAX_FRAMEARRIVAL_STEPS];
99 void calc_fps(nsecs_t currtime_us);
Dprofiler.cpp147 void CalcFps::calc_fps(nsecs_t currtime_us) in calc_fps()
149 static nsecs_t oldtime_us = 0; in calc_fps()
151 nsecs_t diff = currtime_us - oldtime_us; in calc_fps()
178 nsecs_t sum = 0; in calc_fps()
/hardware/qcom/display/msm8084/libqdutils/
Dprofiler.h85 nsecs_t ignorethresh_us;
92 nsecs_t framearrivals[MAX_FPS_CALC_PERIOD_IN_FRAMES];
93 nsecs_t accum_framearrivals[MAX_FRAMEARRIVAL_STEPS];
99 void calc_fps(nsecs_t currtime_us);
Dprofiler.cpp147 void CalcFps::calc_fps(nsecs_t currtime_us) in calc_fps()
149 static nsecs_t oldtime_us = 0; in calc_fps()
151 nsecs_t diff = currtime_us - oldtime_us; in calc_fps()
178 nsecs_t sum = 0; in calc_fps()
/hardware/interfaces/tests/foo/1.0/default/lib/include/hidl-test/
DFooHelper.h15 static constexpr nsecs_t DELAY_S = 1;
16 static constexpr nsecs_t DELAY_NS = seconds_to_nanoseconds(DELAY_S);
17 static constexpr nsecs_t TOLERANCE_NS = milliseconds_to_nanoseconds(10);
18 static constexpr nsecs_t ONEWAY_TOLERANCE_NS = milliseconds_to_nanoseconds(1);
/hardware/libhardware/tests/input/evdev/
DInputHub_test.cpp41 …g InputCbFunc = std::function<void(const std::shared_ptr<InputDeviceNode>&, InputEvent&, nsecs_t)>;
44 …nst InputCbFunc kNoopInputCb = [](const std::shared_ptr<InputDeviceNode>&, InputEvent&, nsecs_t){}; in __anon5f3141d90102() argument
58 nsecs_t event_time) override { in onInputEvent()
180 nsecs_t expectedWhen = systemTime(CLOCK_MONOTONIC) + ms2ns(inputDelayMs.count()); in TEST_F()
183 nsecs_t event_time) { in TEST_F()
212 [&](const std::shared_ptr<InputDeviceNode>&, InputEvent&, nsecs_t) { in TEST_F() argument
/hardware/libhardware/modules/sensors/dynamic_sensor/
DDynamicSensorManager.h59 int batch(int handle, nsecs_t sample_period, nsecs_t batch_period);
60 int setDelay(int handle, nsecs_t sample_period);

123