From b5390b9f1b8d777f8df75a1174fe757e759255a8 Mon Sep 17 00:00:00 2001 From: Leonardo Bautista-Gomez Date: Wed, 29 Mar 2023 17:01:28 +0200 Subject: [PATCH] Remove traffic statsi. Rebase to traffic progress. --- DAS/results.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/DAS/results.py b/DAS/results.py index 469810c..48512cd 100644 --- a/DAS/results.py +++ b/DAS/results.py @@ -16,16 +16,10 @@ class Result: self.missingVector = [] self.metrics = {} - def populate(self, shape, config, missingVector, bandwidthVector): + def populate(self, shape, config, missingVector): """It populates part of the result data inside a vector.""" self.shape = shape self.missingVector = missingVector - self.proTx = bandwidthVector[0] - self.proRx = bandwidthVector[1] - self.aveTx = bandwidthVector[2] - self.maxTx = bandwidthVector[3] - self.aveRx = bandwidthVector[4] - self.maxRx = bandwidthVector[5] missingSamples = missingVector[-1] if missingSamples == 0: self.blockAvailable = 1