aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2015-03-03 16:43:05 +0100
committerPierre Ossman <ossman@cendio.se>2015-03-03 16:43:05 +0100
commit7d218b08a3da0a6d2bc277b642788f1d9c9fcaad (patch)
tree49465770db3b20a3b362eb0568a27c1f2018bc70 /tests
parentfc331e62a8cdc0ab36c3640c7b36f2737f6089bb (diff)
downloadtigervnc-7d218b08a3da0a6d2bc277b642788f1d9c9fcaad.tar.gz
tigervnc-7d218b08a3da0a6d2bc277b642788f1d9c9fcaad.zip
Windows doesn't have %lld
Diffstat (limited to 'tests')
-rw-r--r--tests/encperf.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/encperf.cxx b/tests/encperf.cxx
index 06207381..9b632e78 100644
--- a/tests/encperf.cxx
+++ b/tests/encperf.cxx
@@ -455,8 +455,13 @@ int main(int argc, char **argv)
meddev = dev[runCount / 2];
printf("CPU time: %g s (+/- %g %%)\n", median, meddev);
+#ifdef WIN32
+ printf("Encoded bytes: %I64d\n", bytes);
+ printf("Raw equivalent bytes: %I64d\n", equivalent);
+#else
printf("Encoded bytes: %lld\n", bytes);
printf("Raw equivalent bytes: %lld\n", equivalent);
+#endif
printf("Ratio: %g\n", ratio);
return 0;