diff options
author | imarom <imarom@cisco.com> | 2016-08-15 15:33:51 +0300 |
---|---|---|
committer | imarom <imarom@cisco.com> | 2016-08-15 16:33:41 +0300 |
commit | 25aa665b7e5a5e8747735aaaa5a00dba11b21067 (patch) | |
tree | 75f6fc67584dbcba8a72b44ed5384f24e0eef698 /scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_stats.py | |
parent | ba7b5dff853a3b11b0cc2e7b29cfc1cd99e606f7 (diff) |
TUI screen buffer
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_stats.py')
-rw-r--r-- | scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_stats.py | 4 |
1 files changed, 0 insertions, 4 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 b321c00b..5e4bdfda 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 @@ -442,10 +442,6 @@ class CTRexInfoGenerator(object): for i in range(min(14, len(cpu_stats))): history = cpu_stats[i]["history"] ports = cpu_stats[i]["ports"] - if not len(ports) == 2: - sys.__stdout__.write(str(util_stats["cpu"])) - exit(-1) - avg = int(round(sum(history[:avg_len]) / avg_len)) # decode active ports for core |