diff options
author | Yiting.Li <liyiting@huawei.com> | 2016-01-20 11:01:43 +0800 |
---|---|---|
committer | Yiting.Li <liyiting@huawei.com> | 2016-01-20 11:01:43 +0800 |
commit | 194ae04e266f63512a8f041f6bfd0dc330cd81af (patch) | |
tree | 6054415a0c9de8617076766c43dedaccbd6997cc /vstf/vstf/controller/sw_perf/performance.py | |
parent | 830b8c8c9f158fad8f9b1fc0977ae6deee3e9bed (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-x | vstf/vstf/controller/sw_perf/performance.py | 4 |
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] |