Home | History | Annotate | Download | only in surfaceflinger

Lines Matching refs:DispSync

34 #include "DispSync.h"
110 ATRACE_INT64("DispSync:Frame", mFrameNumber);
134 if (kTraceDetailedInfo) ATRACE_NAME("DispSync waiting");
164 ATRACE_INT64("DispSync:WakeupLat", now - targetTime);
165 ATRACE_INT64("DispSync:AvgWakeupLat", mWakeupLatency);
181 const sp<DispSync::Callback>& callback) {
208 status_t removeEventListener(const sp<DispSync::Callback>& callback) {
236 sp<DispSync::Callback> mCallback;
240 sp<DispSync::Callback> mCallback;
365 #define LOG_TAG "DispSync"
367 class ZeroPhaseTracer : public DispSync::Callback {
380 DispSync::DispSync(const char* name) :
385 mThread->run("DispSync", PRIORITY_URGENT_DISPLAY + PRIORITY_MORE_FAVORABLE);
386 // set DispSync to SCHED_FIFO to minimize jitter
409 DispSync::~DispSync() {}
411 void DispSync::reset() {
423 bool DispSync::addPresentFence(const sp<Fence>& fence) {
447 void DispSync::beginResync() {
454 bool DispSync::addResyncSample(nsecs_t timestamp) {
499 void DispSync::endResync() {
502 status_t DispSync::addEventListener(const char* name, nsecs_t phase,
508 void DispSync::setRefreshSkipCount(int count) {
515 status_t DispSync::removeEventListener(const sp<Callback>& callback) {
520 void DispSync::setPeriod(nsecs_t period) {
528 nsecs_t DispSync::getPeriod() {
534 void DispSync::updateModelLocked() {
581 ATRACE_INT64("DispSync:Period", mPeriod);
582 ATRACE_INT64("DispSync:Phase", mPhase + mPeriod / 2);
593 void DispSync::updateErrorLocked() {
624 ATRACE_INT64("DispSync:Error", mError);
628 void DispSync::resetErrorLocked() {
637 nsecs_t DispSync::computeNextRefresh(int periodOffset) const {
644 void DispSync::dump(String8& result) const {