summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/automation/trex_control_plane')
-rw-r--r--scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_stats.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_stats.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_stats.py
index 12c2c578..c7513144 100644
--- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_stats.py
+++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_stats.py
@@ -212,7 +212,7 @@ class CTRexInfoGenerator(object):
if ratio <= 0.1875:
return u'\u2581' # 1/8
if ratio <= 0.3125:
- return u'\u2582' # 2/4
+ return u'\u2582' # 2/8
if ratio <= 0.4375:
return u'\u2583' # 3/8
if ratio <= 0.5625:
@@ -594,6 +594,7 @@ class CGlobalStats(CTRexStats):
# absolute
stats['cpu_util'] = self.get("m_cpu_util")
stats['rx_cpu_util'] = self.get("m_rx_cpu_util")
+ stats['bw_per_core'] = self.get("m_bw_per_core")
stats['tx_bps'] = self.get("m_tx_bps")
stats['tx_pps'] = self.get("m_tx_pps")