summaryrefslogtreecommitdiffstats
path: root/x11vnc/util.c
diff options
context:
space:
mode:
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;