summaryrefslogtreecommitdiffstats
path: root/stats.c
diff options
context:
space:
mode:
Diffstat (limited to 'stats.c')
-rw-r--r--stats.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/stats.c b/stats.c
index f712021..b6fcf62 100644
--- a/stats.c
+++ b/stats.c
@@ -69,6 +69,10 @@ rfbPrintStats(rfbClientPtr cl)
totalBytesSent += cl->rfbBytesSent[i];
}
+ totalRectanglesSent += (cl->rfbCursorUpdatesSent +
+ cl->rfbLastRectMarkersSent);
+ totalBytesSent += (cl->rfbCursorBytesSent + cl->rfbLastRectBytesSent);
+
rfbLog(" framebuffer updates %d, rectangles %d, bytes %d\n",
cl->rfbFramebufferUpdateMessagesSent, totalRectanglesSent,
totalBytesSent);