From 850ee9696e0ad97133501c46fbccfe2168c4bb3b Mon Sep 17 00:00:00 2001 From: Themaister Date: Mon, 3 Jun 2013 01:37:15 +0200 Subject: [PATCH] Drop broken delay logging in KMS. Didn't serve any purpose anyways. --- gfx/context/drm_egl_ctx.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/gfx/context/drm_egl_ctx.c b/gfx/context/drm_egl_ctx.c index 69a1f6d770..31b75905e2 100644 --- a/gfx/context/drm_egl_ctx.c +++ b/gfx/context/drm_egl_ctx.c @@ -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; }