diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-02-01 17:15:20 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-02-01 17:15:20 +0900 |
commit | b7fce41348f2c8449e84c3078b67dad7cf78ace5 (patch) | |
tree | 09e7be5856265da78d3623273a039fb037a7ab42 | |
parent | 2eb0cace848d7d0415a69be9159cfdf6b1bf1117 (diff) | |
download | libquotient-b7fce41348f2c8449e84c3078b67dad7cf78ace5.tar.gz libquotient-b7fce41348f2c8449e84c3078b67dad7cf78ace5.zip |
Log transferred bytes in PROFILER category
-rw-r--r-- | room.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -119,6 +119,9 @@ class Room::Private if (p == 0) p = -1; } + if (p != -1) + qCDebug(PROFILER) << "Transfer progress:" << p << "/" << t + << "=" << llround(double(p) / t * 100) << "%"; progress = p; total = t; } }; |