summaryrefslogtreecommitdiffstats
path: root/scripts/stl
diff options
context:
space:
mode:
authorIdo Barnea <ibarnea@cisco.com>2016-06-23 09:19:54 +0300
committerIdo Barnea <ibarnea@cisco.com>2016-06-23 09:19:54 +0300
commit24c22cf22f429c5214b1f1beba5145e7c4a2c4a8 (patch)
tree7f9a898d49194a25b13a19954b6dda5f43f25775 /scripts/stl
parent776aff59c30d204a953e5b3a42172e828f030da6 (diff)
get_stats documentation
Diffstat (limited to 'scripts/stl')
-rw-r--r--scripts/stl/flow_stats_latency.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/stl/flow_stats_latency.py b/scripts/stl/flow_stats_latency.py
index 8460fcfc..e053549e 100644
--- a/scripts/stl/flow_stats_latency.py
+++ b/scripts/stl/flow_stats_latency.py
@@ -6,6 +6,8 @@ class STLS1(object):
Can specify using tunables the packet length (fsize) and packet group id (pg_id)
Since we can't have two latency streams with same pg_id, in order to be able to start this profile
on more than one port, we add port_id to the pg_id
+ Notice that for perfomance reasons, latency streams are not affected by -m flag, so
+ you can only change the pps value by editing the code.
"""
def __init__ (self):
@@ -19,7 +21,7 @@ class STLS1(object):
pkt = STLPktBuilder(pkt = base_pkt/pad)
return [STLStream(packet = pkt,
- mode = STLTXCont(pps=1),
+ mode = STLTXCont(pps=1000),
flow_stats = STLFlowLatencyStats(pg_id = self.pg_id))
]