Showing the changes to interface/src/Application.cpp (1 of 7 files). Show all
Unified · Split
| @@ -241,10 +241,10 @@ Application::Application(int& argc, char** argv, QElapsedTimer &startup_time) : · 240 unmodified lines | ||
| 241 | 241 | _mousePressed(false), |
| 242 | 242 | _enableProcessOctreeThread(true), |
| 243 | 243 | _octreeProcessor(), |
| 244 | − _inPacketsPerSecond(0), | |
| 245 | − _outPacketsPerSecond(0), | |
| 246 | − _inBytesPerSecond(0), | |
| 247 | − _outBytesPerSecond(0), | |
| 244 | +// _inPacketsPerSecond(0), | |
| 245 | +// _outPacketsPerSecond(0), | |
| 246 | +// _inBytesPerSecond(0), | |
| 247 | +// _outBytesPerSecond(0), | |
| 248 | 248 | _nodeBoundsDisplay(this), |
| 249 | 249 | _previousScriptLocation(), |
| 250 | 250 | _applicationOverlay(), |
| @@ -1380,10 +1380,10 @@ void Application::timer() { · 1129 unmodified lines | ||
| 1380 | 1380 | |
| 1381 | 1381 | _fps = (float)_frameCount / diffTime; |
| 1382 | 1382 | |
| 1383 | − _inPacketsPerSecond = (float) _datagramProcessor.getInPacketCount() / diffTime; | |
| 1384 | − _outPacketsPerSecond = (float) _datagramProcessor.getOutPacketCount() / diffTime; | |
| 1385 | − _inBytesPerSecond = (float) _datagramProcessor.getInByteCount() / diffTime; | |
| 1386 | − _outBytesPerSecond = (float) _datagramProcessor.getOutByteCount() / diffTime; | |
| 1383 | + // _inPacketsPerSecond = (float) _datagramProcessor.getInPacketCount() / diffTime; | |
| 1384 | + // _outPacketsPerSecond = (float) _datagramProcessor.getOutPacketCount() / diffTime; | |
| 1385 | + // _inBytesPerSecond = (float) _datagramProcessor.getInByteCount() / diffTime; | |
| 1386 | + // _outBytesPerSecond = (float) _datagramProcessor.getOutByteCount() / diffTime; | |
| 1387 | 1387 | _frameCount = 0; |
| 1388 | 1388 | |
| 1389 | 1389 | _datagramProcessor.resetCounters(); |