Commit 95d5b4fa authored by Nigel Kukard's avatar Nigel Kukard
Browse files

* Small code cleanup that seems to of gotten lost

parent bc10370d
......@@ -322,9 +322,7 @@ static int processPktQueue(struct runnerData_t *runnerData, struct pktQueue_t *p
{
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 @@ static int processPktQueue(struct runnerData_t *runnerData, struct pktQueue_t *p
// 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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment