Author: nkukard
Date: 2005-01-21 13:38:31 +0200 (Fri, 21 Jan 2005)
New Revision: 64
Modified:
trunk/bwmd/flow.c
Log:
* Small code cleanup that seems to of gotten lost
Modified: trunk/bwmd/flow.c
===================================================================
--- trunk/bwmd/flow.c 2005-01-21 11:30:59 UTC (rev 63)
+++ trunk/bwmd/flow.c 2005-01-21 11:38:31 UTC (rev 64)
@@ -322,9 +322,7 @@
{
float delta;
- // flow->curThroughputAge -= 2000000;
-
- // Get the fraction of time passed since last update
+ // Get the fraction of time passed since last update, predict below to 1 second
delta = flow->curThroughputAge / 1000000.0;
// Calculate throughput
@@ -340,11 +338,6 @@
// Calculate queue size
flow->softQueueSize = (flow->softQueueSize + flow->curQueueSize) / 2;
- if (strcmp(flow->flowName,"saix_in") == 0)
- fprintf(stderr,"%s: curThroughput: %f\tsoftQueueSize:%u\n",
- flow->flowName,
- flow->curThroughput,
- flow->softQueueSize);
flow->curThroughputAge = 0;
}
|