diff options
author | 2016-05-18 19:12:14 +0300 | |
---|---|---|
committer | 2016-05-18 19:24:00 +0300 | |
commit | 3eb2d1338ff801bf307996926394e8d043ced98e (patch) | |
tree | dc89056b341cce54387f9a416dbed0c562ba2468 /scripts/automation/trex_control_plane/stl/console | |
parent | 7e92d155c0d051711aeac1d092fe0a6a55b9104d (diff) |
tui fixes
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/console')
-rw-r--r-- | scripts/automation/trex_control_plane/stl/console/trex_tui.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/automation/trex_control_plane/stl/console/trex_tui.py b/scripts/automation/trex_control_plane/stl/console/trex_tui.py index 0c69f029..95dc654b 100644 --- a/scripts/automation/trex_control_plane/stl/console/trex_tui.py +++ b/scripts/automation/trex_control_plane/stl/console/trex_tui.py @@ -216,7 +216,11 @@ class TrexTUILatencyStats(TrexTUIPanel): stats = self.stateless_client._get_formatted_stats(port_id_list = None, stats_mask = trex_stl_stats.LS_COMPAT) # print stats to screen for stat_type, stat_data in stats.items(): - text_tables.print_table_with_header(stat_data.text_table, stat_type) + if stat_type == 'latency_statistics': + untouched_header = ' (usec)' + else: + untouched_header = '' + text_tables.print_table_with_header(stat_data.text_table, stat_type, untouched_header = untouched_header) def get_key_actions (self): return self.key_actions |