aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/trex/trex_stateless_stop.py
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2020-01-10 12:44:45 +0000
committerPeter Mikus <pmikus@cisco.com>2020-04-27 13:57:08 +0000
commitfcce2ca13e7dacebf719fd9f7a6dcc8fb24f56ef (patch)
tree6e70df348e37c62499da706fc39e22b610d97bb2 /resources/tools/trex/trex_stateless_stop.py
parentfd70b6786c00f8a0f0021b517f0601154e0a0498 (diff)
Performance: TRex approximatedDuration and approximateRate
- API to provide duration for send and receive traffic Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Id186a200be66b7703348e6fd3099ffd405e915ae
Diffstat (limited to 'resources/tools/trex/trex_stateless_stop.py')
-rwxr-xr-xresources/tools/trex/trex_stateless_stop.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/resources/tools/trex/trex_stateless_stop.py b/resources/tools/trex/trex_stateless_stop.py
index d4461ffd39..5e8721d28c 100755
--- a/resources/tools/trex/trex_stateless_stop.py
+++ b/resources/tools/trex/trex_stateless_stop.py
@@ -1,6 +1,6 @@
#!/usr/bin/python3
-# Copyright (c) 2019 Cisco and/or its affiliates.
+# Copyright (c) 2020 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
@@ -94,8 +94,9 @@ def main():
# TODO: Add latency.
print(
f"rate='unknown', totalReceived={total_rcvd}, totalSent={total_sent}, "
- f"frameLoss={total_lost}, latencyStream0(usec)=-1/-1/-1, "
- f"latencyStream1(usec)=-1/-1/-1, targetDuration='manual'"
+ f"frameLoss={total_lost}, targetDuration='manual', "
+ f"approximatedDuration='manual', approximatedRate='unknown', "
+ f"latencyStream0(usec)=-1/-1/-1, latencyStream1(usec)=-1/-1/-1"
)