summaryrefslogtreecommitdiffstats
path: root/x11vnc/util.c
diff options
context:
space:
mode:
authorrunge <runge>2006-09-14 02:20:57 +0000
committerrunge <runge>2006-09-14 02:20:57 +0000
commit130cf391b60b93f187152cc10f389106caf1cbeb (patch)
treea6a4853e054137b0e37c2243d41947ee9c6c9640 /x11vnc/util.c
parent94501cdcfaeecf09c42584589a4d419ce6ecf8aa (diff)
downloadlibtdevnc-130cf391b60b93f187152cc10f389106caf1cbeb.tar.gz
libtdevnc-130cf391b60b93f187152cc10f389106caf1cbeb.zip
x11vnc: enhanced_tightvnc_viewer files, ssh -t keystroke response improvement.
Diffstat (limited to 'x11vnc/util.c')
-rw-r--r--x11vnc/util.c13
1 files changed, 13 insertions, 0 deletions
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;