mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-02 13:28:35 +00:00
Drop broken delay logging in KMS.
Didn't serve any purpose anyways.
This commit is contained in:
parent
9adf9ce818
commit
850ee9696e
@ -111,8 +111,6 @@ static unsigned last_page_flip;
|
||||
static uint64_t first_usec;
|
||||
static uint64_t last_usec;
|
||||
|
||||
static uint64_t flip_request_usec;
|
||||
|
||||
static unsigned missed_vblanks;
|
||||
static unsigned hit_vblanks;
|
||||
|
||||
@ -137,9 +135,6 @@ static void page_flip_handler(int fd, unsigned frame, unsigned sec, unsigned use
|
||||
RARCH_LOG("[KMS/EGL]: Missed %u VBlank(s) (Frame: %u, DRM frame: %u).\n",
|
||||
missed, frame - first_page_flip, frame);
|
||||
missed_vblanks += missed;
|
||||
|
||||
unsigned flip_time = current_usec - flip_request_usec;
|
||||
RARCH_LOG("\tDelta request => flip: %.5f ms.\n", flip_time / 1000.0);
|
||||
}
|
||||
}
|
||||
|
||||
@ -199,10 +194,6 @@ static void queue_flip(void)
|
||||
return;
|
||||
}
|
||||
|
||||
struct timeval tv;
|
||||
gettimeofday(&tv, NULL);
|
||||
flip_request_usec = (uint64_t)tv.tv_sec * 1000000 + tv.tv_usec;
|
||||
|
||||
waiting_for_flip = true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user