Home
last modified time | relevance | path

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

1234

/hardware/qcom/camera/QCamera2/util/
DQCameraDisplay.h47 void computeAverageVsyncInterval(nsecs_t currentVsyncTimeStamp);
48 nsecs_t computePresentationTimeStamp(nsecs_t frameTimeStamp);
52 nsecs_t mVsyncTimeStamp;
53 nsecs_t mAvgVsyncInterval;
54 nsecs_t mOldTimeStamp;
55 nsecs_t mVsyncIntervalHistory[CAMERA_NUM_VSYNC_INTERVAL_HISTORY];
56 nsecs_t mVsyncHistoryIndex;
57 nsecs_t mAdditionalVsyncOffsetForWiggle;
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()
DQCameraPerf.h49 typedef int64_t nsecs_t; typedef
87 nsecs_t mStartTimeofLock;
/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/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.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/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.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.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/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/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.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/intel/img/hwcomposer/moorefield_hdmi/common/observers/
DSoftVsyncObserver.cpp99 mRefreshPeriod = nsecs_t(1e9 / mRefreshRate); in control()
121 const nsecs_t period = mRefreshPeriod; in threadLoop()
122 const nsecs_t now = systemTime(CLOCK_MONOTONIC); in threadLoop()
123 nsecs_t next_vsync = mNextFakeVSync; in threadLoop()
124 nsecs_t sleep = next_vsync - now; in threadLoop()
DSoftVsyncObserver.h42 nsecs_t mRefreshPeriod;
45 mutable nsecs_t mNextFakeVSync;
/hardware/intel/img/hwcomposer/merrifield/common/observers/
DSoftVsyncObserver.cpp103 mRefreshPeriod = nsecs_t(1e9 / mRefreshRate); in control()
125 const nsecs_t period = mRefreshPeriod; in threadLoop()
126 const nsecs_t now = systemTime(CLOCK_MONOTONIC); in threadLoop()
127 nsecs_t next_vsync = mNextFakeVSync; in threadLoop()
128 nsecs_t sleep = next_vsync - now; in threadLoop()
DSoftVsyncObserver.h42 nsecs_t mRefreshPeriod;
45 mutable nsecs_t mNextFakeVSync;
/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/input/evdev/
DInputDevice.h45 virtual void processInput(InputEvent& event, nsecs_t currentTime) = 0;
61 virtual void processInput(InputEvent& event, nsecs_t currentTime) override;
DInputHub.h34 nsecs_t when;
103 virtual void vibrate(nsecs_t duration) = 0;
119 nsecs_t event_time) = 0;
DSwitchInputMapper.h40 void sync(nsecs_t when);
DMouseInputMapper.h40 void sync(nsecs_t when);
/hardware/ti/omap4xxx/camera/V4LCameraAdapter/
DV4LCameraAdapter.cpp432 static nsecs_t mLastFpsTime = 0; in debugShowFPS()
436 nsecs_t now = systemTime(); in debugShowFPS()
437 nsecs_t diff = now - mLastFpsTime; in debugShowFPS()
454 nsecs_t now = systemTime(); in recalculateFPS()
455 nsecs_t diff = now - mLastFPSTime; in recalculateFPS()

1234