X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Ftrex%2Ftrex_stateless_profile.py;fp=resources%2Ftools%2Ftrex%2Ftrex_stateless_profile.py;h=a41e4e8562535868a46fe0d23e5181afb4033e2d;hp=edb0b8d8cfc84be44840cb94277d677a8734193f;hb=925c5bfcffb2bc6b833a8e64b7f3a06bbca52197;hpb=919d9ebab430db35c303a26f52be0751962183be diff --git a/resources/tools/trex/trex_stateless_profile.py b/resources/tools/trex/trex_stateless_profile.py index edb0b8d8cf..a41e4e8562 100755 --- a/resources/tools/trex/trex_stateless_profile.py +++ b/resources/tools/trex/trex_stateless_profile.py @@ -194,8 +194,8 @@ def simple_burst( lost_b = 0 # Choose rate and start traffic: - time_start = time.time() client.start(ports=ports, mult=rate, duration=duration, force=force) + time_start = time.time() if async_start: # For async stop, we need to export the current snapshot.