HomeSort by relevance Sort by last modified time
    Searched refs:nsecs_t (Results 1 - 25 of 297) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /system/extras/tests/memtest/
memtest.h 20 typedef long long nsecs_t; typedef
23 nsecs_t system_time();
  /system/core/include/utils/
Timers.h 34 typedef int64_t nsecs_t; // nano-seconds typedef
36 static inline nsecs_t seconds_to_nanoseconds(nsecs_t secs)
41 static inline nsecs_t milliseconds_to_nanoseconds(nsecs_t secs)
46 static inline nsecs_t microseconds_to_nanoseconds(nsecs_t secs)
51 static inline nsecs_t nanoseconds_to_seconds(nsecs_t secs)
56 static inline nsecs_t nanoseconds_to_milliseconds(nsecs_t secs
    [all...]
StopWatch.h 38 nsecs_t lap();
39 nsecs_t elapsedTime() const;
49 nsecs_t soFar;
50 nsecs_t thisLap;
53 nsecs_t mStartTime;
  /frameworks/base/libs/hwui/renderthread/
TimeLord.h 31 void setFrameInterval(nsecs_t intervalNanos) { mFrameIntervalNanos = intervalNanos; }
32 void vsyncReceived(nsecs_t vsync);
33 nsecs_t computeFrameTimeMs();
41 nsecs_t mFrameIntervalNanos;
42 nsecs_t mFrameTimeNanos;
TimeLord.cpp 27 void TimeLord::vsyncReceived(nsecs_t vsync) {
33 nsecs_t TimeLord::computeFrameTimeMs() {
35 nsecs_t now = systemTime(CLOCK_MONOTONIC);
36 nsecs_t jitterNanos = now - mFrameTimeNanos;
38 nsecs_t lastFrameOffset = jitterNanos % mFrameIntervalNanos;
DrawFrameTask.h 64 int drawFrame(nsecs_t frameTimeNanos, nsecs_t recordDurationNanos);
82 nsecs_t mFrameTimeNanos;
83 nsecs_t mRecordDurationNanos;
  /frameworks/native/include/ui/
DisplayStatInfo.h 25 nsecs_t vsyncTime;
26 nsecs_t vsyncPeriod;
FrameStats.h 32 nsecs_t refreshPeriodNano;
39 Vector<nsecs_t> desiredPresentTimesNano;
44 Vector<nsecs_t> actualPresentTimesNano;
52 Vector<nsecs_t> frameReadyTimesNano;
DisplayInfo.h 37 nsecs_t appVsyncOffset;
38 nsecs_t presentationDeadline;
  /frameworks/av/media/libmediaplayerservice/
VideoFrameScheduler.h 37 nsecs_t schedule(nsecs_t renderTime);
40 nsecs_t getVsyncPeriod();
58 nsecs_t addSample(nsecs_t time);
61 nsecs_t mPeriod;
62 nsecs_t mPhase;
67 nsecs_t mLastTime; // last input time
68 nsecs_t mRefitAt; // next input time to fit at
71 nsecs_t mTimes[kHistorySize]
    [all...]
  /frameworks/native/opengl/libs/GLES_trace/src/
gltrace_fixup.h 28 void fixupGLMessage(GLTraceContext *curContext, nsecs_t wallStart, nsecs_t wallEnd,
29 nsecs_t threadStart, nsecs_t threadEnd,
  /frameworks/native/services/surfaceflinger/
DispSync.h 64 virtual void onDispSyncEvent(nsecs_t when) = 0;
96 bool addResyncSample(nsecs_t timestamp);
102 void setPeriod(nsecs_t period);
105 nsecs_t getPeriod();
117 status_t addEventListener(nsecs_t phase, const sp<Callback>& callback);
128 nsecs_t computeNextRefresh(int periodOffset) const;
146 nsecs_t mPeriod;
150 nsecs_t mPhase;
155 nsecs_t mError;
160 nsecs_t mResyncSamples[MAX_RESYNC_SAMPLES]
    [all...]
FrameTracker.h 53 void setDesiredPresentTime(nsecs_t desiredPresentTime);
59 void setFrameReadyTime(nsecs_t readyTime);
67 void setActualPresentTime(nsecs_t displayTime);
76 void setDisplayRefreshPeriod(nsecs_t displayPeriod);
100 nsecs_t desiredPresentTime;
101 nsecs_t frameReadyTime;
102 nsecs_t actualPresentTime;
156 nsecs_t mDisplayPeriod;
DispSync.cpp 46 static const nsecs_t kErrorThreshold = 160000000000; // 400 usec squared
64 void updateModel(nsecs_t period, nsecs_t phase) {
79 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC);
80 nsecs_t nextEventTime = 0;
85 nsecs_t targetTime = 0;
147 status_t addEventListener(nsecs_t phase, const sp<DispSync::Callback>& callback) {
197 nsecs_t mPhase;
198 nsecs_t mLastEventTime;
204 nsecs_t mEventTime
    [all...]
  /frameworks/base/services/core/jni/
com_android_server_power_PowerManagerService.h 27 extern void android_server_PowerManagerService_userActivity(nsecs_t eventTime, int32_t eventType);
  /device/generic/goldfish/camera/fake-pipeline2/
Sensor.h 132 bool waitForVSync(nsecs_t reltime);
138 bool waitForNewFrame(nsecs_t reltime,
139 nsecs_t *captureTime);
151 nsecs_t timestamp) = 0;
162 static const nsecs_t kExposureTimeRange[2];
163 static const nsecs_t kFrameDurationRange[2];
164 static const nsecs_t kMinVerticalBlank;
189 static const nsecs_t kRowReadoutTime;
212 nsecs_t mCaptureTime;
217 nsecs_t mStartupTime
    [all...]
  /frameworks/native/libs/ui/
FrameStats.cpp 26 const size_t timestampSize = sizeof(nsecs_t);
39 nsecs_t* timestamps = reinterpret_cast<nsecs_t*>(buffer);
40 const size_t timestampSize = sizeof(nsecs_t);
58 const size_t timestampSize = sizeof(nsecs_t);
64 nsecs_t const* timestamps = reinterpret_cast<nsecs_t const*>(buffer);
  /system/core/libutils/
Timers.cpp 36 nsecs_t systemTime(int clock)
48 return nsecs_t(t.tv_sec)*1000000000LL + t.tv_nsec;
51 nsecs_t systemTime(int /*clock*/)
59 return nsecs_t(t.tv_sec)*1000000000LL + nsecs_t(t.tv_usec)*1000LL;
63 int toMillisecondTimeoutDelay(nsecs_t referenceTime, nsecs_t timeoutTime)
  /frameworks/native/include/gui/
ISensorEventConnection.h 39 virtual status_t enableDisable(int handle, bool enabled, nsecs_t samplingPeriodNs,
40 nsecs_t maxBatchReportLatencyNs, int reservedFlags) = 0;
41 virtual status_t setEventRate(int handle, nsecs_t ns) = 0;
  /frameworks/native/services/inputflinger/
InputApplication.h 33 nsecs_t dispatchingTimeout;
53 inline nsecs_t getDispatchingTimeout(nsecs_t defaultValue) const {
  /device/generic/goldfish/camera/
EmulatedFakeCameraDevice.h 136 nsecs_t mLastRedrawn;
173 static const nsecs_t mRedrawAfter = 15000000LL;
177 static const nsecs_t mRotateFreq = 3000000000LL;
180 nsecs_t mLastRotatedAt;
  /hardware/qcom/display/msm8084/libqdutils/
profiler.h 85 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);
  /hardware/qcom/display/msm8226/libqdutils/
profiler.h 85 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);
  /hardware/qcom/display/msm8960/libqdutils/
profiler.h 85 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);
  /hardware/qcom/display/msm8974/libqdutils/
profiler.h 85 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);

Completed in 1036 milliseconds

1 2 3 4 5 6 7 8 91011>>