-
Notifications
You must be signed in to change notification settings - Fork 81
FlowRandLoad
Tom Barbette edited this page Nov 25, 2022
·
1 revision
FlowRandLoad — Click element; Artificial CPU load, randomly selected per-flow
FlowRandLoad([MIN, MAX])
Ports: 1 input, 1 output
Processing: push
For each new flow (using the flow subsystem) this element will select a random number between MIN and MAX, that designates how many PRNG should be done per-packet. Hence, some flow will appear heavy, and some light. One PRNG is around 8 CPU cycles.
Keyword arguments are:
- MIN — Integer. Minimal number of PRNG to run for each packets. Default is 1.
- MAX — Integer. Maximal number of PRNG to run for each packets. Default is 100.
FlowIPManager->FlowRandLoad(MIN 1, MAX 100).
Generated by click-elem2man from ../elements/research/flowrandload.hh:20
on 2022/11/25.