Skip to content
Tom Barbette edited this page Nov 25, 2022 · 1 revision

FlowRandLoad Element Documentation

NAME

FlowRandLoad — Click element; Artificial CPU load, randomly selected per-flow

SYNOPSIS

FlowRandLoad([MIN, MAX])

Ports: 1 input, 1 output
Processing: push

DESCRIPTION

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.

EXAMPLES

 FlowIPManager->FlowRandLoad(MIN 1, MAX 100).

SEE ALSO

RandLoad, WorkPackage

Generated by click-elem2man from ../elements/research/flowrandload.hh:20 on 2022/11/25.

Clone this wiki locally