From 130cf391b60b93f187152cc10f389106caf1cbeb Mon Sep 17 00:00:00 2001 From: runge Date: Thu, 14 Sep 2006 02:20:57 +0000 Subject: x11vnc: enhanced_tightvnc_viewer files, ssh -t keystroke response improvement. --- x11vnc/util.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'x11vnc/util.c') diff --git a/x11vnc/util.c b/x11vnc/util.c index 15453b5..079d53c 100644 --- a/x11vnc/util.c +++ b/x11vnc/util.c @@ -417,6 +417,12 @@ void rfbPE(long usec) { return; } + if (debug_tiles > 2) { + double tm = dnow(); + fprintf(stderr, "rfbPE(%d) t: %.4f\n", + (int) usec, tm - x11vnc_start); + } + if (usec > USEC_MAX) { usec = USEC_MAX; } @@ -445,6 +451,13 @@ void rfbCFD(long usec) { usec = USEC_MAX; } + if (debug_tiles > 2) { + double tm = dnow(); + fprintf(stderr, "rfbCFD(%d) t: %.4f\n", + (int) usec, tm - x11vnc_start); + } + + if (! use_threads) { if (0 && all_input) { static int cnt = 0; -- cgit v1.2.1