Changeset 5798 in orxonox.OLD for branches/network/src/lib/network/connection_monitor.cc
- Timestamp:
- Nov 27, 2005, 5:52:32 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/connection_monitor.cc
r5749 r5798 128 128 void ConnectionMonitor::displayStatistic() 129 129 { 130 PRINT(0)("============================================\n");131 PRINT(0)("Connection Monitor Network Statistics:\n");132 PRINT(0)("Total received packets:",totalReceivedPackets);133 PRINT(0)("Average datarate :\n",averageDatarate);134 PRINT(0)("Total lost packets:",totalLostPackets);135 PRINT(0)("Packetloss [%] :\n",totalPacketloss);136 137 PRINT(0)("Current datarate :\n",currentDatarate);138 PRINT(0)("Delays of the last few packets :\n");139 for(int i=1 ;i <= packetToAverage-1;i++)140 PRINT(0)("%i ",lastFewDelays[i]);141 142 PRINT(0)("============================================\n");130 // PRINT(0)("============================================\n"); 131 // PRINT(0)("Connection Monitor Network Statistics:\n"); 132 // PRINT(0)("Total received packets:",totalReceivedPackets); 133 // PRINT(0)("Average datarate :\n",averageDatarate); 134 // PRINT(0)("Total lost packets:",totalLostPackets); 135 // PRINT(0)("Packetloss [%] :\n",totalPacketloss); 136 // 137 // PRINT(0)("Current datarate :\n",currentDatarate); 138 // PRINT(0)("Delays of the last few packets :\n"); 139 // for(int i=1 ;i <= packetToAverage-1;i++) 140 // PRINT(0)("%i ",lastFewDelays[i]); 141 // 142 // PRINT(0)("============================================\n"); 143 143 144 144 }
Note: See TracChangeset
for help on using the changeset viewer.