diff options
Diffstat (limited to 'resources/tools')
-rwxr-xr-x | resources/tools/trex/trex_stateless_profile.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/tools/trex/trex_stateless_profile.py b/resources/tools/trex/trex_stateless_profile.py index 61b244e21a..9b629754ca 100755 --- a/resources/tools/trex/trex_stateless_profile.py +++ b/resources/tools/trex/trex_stateless_profile.py @@ -245,11 +245,11 @@ def simple_burst(profile_file, duration, framesize, rate, warmup_time, port_0, else: if client: client.disconnect() - print("rate={0}, totalReceived={1}, totalSent={2}, " + print("rate={0!r}, totalReceived={1}, totalSent={2}, " "frameLoss={3}, latencyStream0(usec)={4}, " - "latencyStream1(usec)={5}". + "latencyStream1(usec)={5}, targetDuration={d!r}". format(rate, total_rcvd, total_sent, lost_a + lost_b, - lat_a, lat_b)) + lat_a, lat_b, d=duration)) def main(): |