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

RandLoad Element Documentation

NAME

RandLoad — Click element; Random artificial CPU load for each packet

SYNOPSIS

RandLoad([MIN, MAX])

Batching: Batching natively supported
Ports: 1 input, 1 output
Processing: push

DESCRIPTION

For each packet this element will select a random number between MIN and MAX, that designates how many PRNG should be done. 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

 RandLoad(MIN 1, MAX 100).

SEE ALSO

FlowRandLoad, WorkPackage

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

Clone this wiki locally