summaryrefslogtreecommitdiffstats
path: root/vstf/vstf/controller/sw_perf/performance.py
diff options
context:
space:
mode:
authorYiting.Li <liyiting@huawei.com>2016-01-20 11:01:43 +0800
committerYiting.Li <liyiting@huawei.com>2016-01-20 11:01:43 +0800
commit194ae04e266f63512a8f041f6bfd0dc330cd81af (patch)
tree6054415a0c9de8617076766c43dedaccbd6997cc /vstf/vstf/controller/sw_perf/performance.py
parent830b8c8c9f158fad8f9b1fc0977ae6deee3e9bed (diff)
JIRA: BOTTLENECKS-41 define the documents of vstf in B release
Change-Id: Ib2ef6fabf0452a3e686d3de0ec7424e9a0500482 Signed-off-by: Yiting.Li <liyiting@huawei.com>
Diffstat (limited to 'vstf/vstf/controller/sw_perf/performance.py')
-rwxr-xr-xvstf/vstf/controller/sw_perf/performance.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/vstf/vstf/controller/sw_perf/performance.py b/vstf/vstf/controller/sw_perf/performance.py
index 7e6467ee..3fe91e93 100755
--- a/vstf/vstf/controller/sw_perf/performance.py
+++ b/vstf/vstf/controller/sw_perf/performance.py
@@ -268,8 +268,8 @@ class Performance(object):
record[mark.rxCount] += nic_data['rxpck']
record[mark.txCount] += nic_data['txpck']
record[mark.bandwidth] += nic_data['rxpck/s']
- record[mark.rxMbps] += nic_data['rxmB/s']
- record[mark.txMbps] += nic_data['txmB/s']
+ record[mark.rxMbps] += nic_data['rxmB/s'] * 8
+ record[mark.txMbps] += nic_data['txmB/s'] * 8
if record[mark.rxMbps] > record[mark.txMbps]:
record[mark.rxMbps], record[mark.txMbps] = record[mark.txMbps], record[mark.rxMbps]