summaryrefslogtreecommitdiffstats
path: root/src/ReceiverThreads
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-08-15 19:21:15 +0200
committerSuren A. Chilingaryan <csa@suren.me>2018-08-15 19:21:15 +0200
commitd4f864cbd252a6156f7cc4b04f3daf1cd5149fc0 (patch)
tree253bd26151e1d53d977344189b37bc77322036fc /src/ReceiverThreads
parent5cdb425d6843c100189611c2edb37b03efc1dc5a (diff)
downloadods-d4f864cbd252a6156f7cc4b04f3daf1cd5149fc0.tar.gz
ods-d4f864cbd252a6156f7cc4b04f3daf1cd5149fc0.tar.bz2
ods-d4f864cbd252a6156f7cc4b04f3daf1cd5149fc0.tar.xz
ods-d4f864cbd252a6156f7cc4b04f3daf1cd5149fc0.zip
Multiple configurations
Diffstat (limited to 'src/ReceiverThreads')
-rw-r--r--src/ReceiverThreads/ReceiverThreads.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ReceiverThreads/ReceiverThreads.cpp b/src/ReceiverThreads/ReceiverThreads.cpp
index e86fae5..688de00 100644
--- a/src/ReceiverThreads/ReceiverThreads.cpp
+++ b/src/ReceiverThreads/ReceiverThreads.cpp
@@ -162,7 +162,7 @@ auto ReceiverThreads::receiverThread(const int port) -> void {
auto ts = std::chrono::high_resolution_clock::now();
std::chrono::nanoseconds d = ts - ts_last;
if (d.count() >= 1000000000) {
- printf("Lost %.2lf%, Received: %i (%zu bytes, %.3lf GBit/s) in %.3lf ms [VMA: %i]\n", loss / (double)(lastIndex - rcv_index)*100.0, rcv_packets, rcv_size, 8. * rcv_size * coef / d.count() , 1. * d.count() / 1000000, (vma_?1:0));
+ printf("Lost %.2lf%, Received: %i (%zu bytes, %.3lf GBit/s) in %.3lf ms [VMA: %i, port: %i]\n", loss / (double)(lastIndex - rcv_index)*100.0, rcv_packets, rcv_size, 8. * rcv_size * coef / d.count() , 1. * d.count() / 1000000, (vma_?1:0), port);
rcv_packets = 0;
rcv_size = 0;
rcv_index = lastIndex;