aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/t-rex/t-rex-stateless.py
diff options
context:
space:
mode:
authorMiroslav Miklus <mmiklus@cisco.com>2016-09-14 14:51:33 +0200
committerMiroslav Miklus <mmiklus@cisco.com>2016-09-15 18:21:00 +0000
commit490256818796108eb9fc169fc477517c490c5d6a (patch)
treec3faa69daf3bf03c365ea5b1113fbad730abb1b1 /resources/tools/t-rex/t-rex-stateless.py
parente9ce3e7fe123c7ed6847e7d615b0e963429b0298 (diff)
CSIT-408 sub-NDR latency measurements
- measure latency at 10% and 50% of found NDR. - fix the accuracy reported by T-REX (round to usec) Change-Id: I9fe2b5f942cb816db6fd0bb4262b48b8da6dac2f Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
Diffstat (limited to 'resources/tools/t-rex/t-rex-stateless.py')
-rwxr-xr-xresources/tools/t-rex/t-rex-stateless.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/tools/t-rex/t-rex-stateless.py b/resources/tools/t-rex/t-rex-stateless.py
index 8a7f34b27a..95c6cb150a 100755
--- a/resources/tools/t-rex/t-rex-stateless.py
+++ b/resources/tools/t-rex/t-rex-stateless.py
@@ -347,8 +347,8 @@ def simple_burst(stream_a, stream_b, stream_lat_a, stream_lat_b, duration, rate,
total_sent = 0
lost_a = 0
lost_b = 0
- lat_a = 'NA'
- lat_b = 'NA'
+ lat_a = "0/0/0"
+ lat_b = "0/0/0"
try:
# turn this off if too many logs