Remove traffic statsi. Rebase to traffic progress.

This commit is contained in:
Leonardo Bautista-Gomez 2023-03-29 17:01:28 +02:00
parent 41e8399159
commit b5390b9f1b
1 changed files with 1 additions and 7 deletions

View File

@ -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