aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/src/Statistics.cpp
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-05 18:12:11 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-05 18:12:11 +0100
commit05cf54af3de6f3e32e08d7bc32e10d58221a068b (patch)
tree05ee5221e4824d1210682e1be268c981684194f3 /nxcomp/src/Statistics.cpp
parent7f777e01e3bb8780ba91e70171a0aae78a95692e (diff)
parentb8c929773fac19dad8af05d0bc64b1b3fed88309 (diff)
downloadnx-libs-05cf54af3de6f3e32e08d7bc32e10d58221a068b.tar.gz
nx-libs-05cf54af3de6f3e32e08d7bc32e10d58221a068b.tar.bz2
nx-libs-05cf54af3de6f3e32e08d7bc32e10d58221a068b.zip
Merge branch 'uli42-pr/fix_global_tcpFD' into 3.6.x
Attributes GH PR #579: https://github.com/ArcticaProject/nx-libs/pull/579
Diffstat (limited to 'nxcomp/src/Statistics.cpp')
-rw-r--r--nxcomp/src/Statistics.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/nxcomp/src/Statistics.cpp b/nxcomp/src/Statistics.cpp
index ab8fd74dc..68673ffc1 100644
--- a/nxcomp/src/Statistics.cpp
+++ b/nxcomp/src/Statistics.cpp
@@ -361,14 +361,14 @@ void Statistics::updateBitrate(int bytes)
#ifdef DEBUG
*logofs << "Statistics: Difference since previous timestamp is "
- << diffFramesInMs << " Ms.\n" << logofs_flush;
+ << diffFramesInMs << " ms.\n" << logofs_flush;
#endif
if (diffFramesInMs > 0)
{
#ifdef DEBUG
*logofs << "Statistics: Removing " << diffFramesInMs
- << " Ms in short and long time frame.\n"
+ << " ms in short and long time frame.\n"
<< logofs_flush;
#endif
@@ -1751,7 +1751,7 @@ int Statistics::getTimeStats(int type, char *&buffer)
char format[FORMAT_LENGTH];
- sprintf(format, "\ntime: %.0f Ms idle, %.0f Ms (%.0f Ms in read, %.0f Ms in write) running.\n\n",
+ sprintf(format, "\ntime: %.0f ms idle, %.0fms (%.0f ms in read, %.0f ms in write) running.\n\n",
transportData -> idleTime_, transportData -> readTime_,
transportData -> readTime_ - transportData -> writeTime_,
transportData -> writeTime_);