PED_GAUSS

code: 1628

# set
<module-index>/<port-index> PED_GAUSS [<flow_index>, <impairment_type_index>] <mean> <std_deviation>

# get
<module-index>/<port-index> PED_GAUSS [<flow_index>, <impairment_type_index>] ?

Description

Configuration of Gaussian distribution.

Note

In case of impairment_type_index != DELAY: (1) mean plus 3 times standard deviation should be less than or equal to max allowed (4194288). (2) mean should always be at least 3 times the standard deviation, this to ensure that the impairment distance is always positive.

In case of impairment_type_index = DELAY: (1) mean plus 3 times standard deviation should be less than or equal to the maximum latency. (2) mean minus 3 times the standard deviation should be greater than or equal to minimum latency.

Actions

set, get

Parameters

  1. mean: long integer, specifies the Gaussian mean.

  2. std_deviation: long integer, specifies the Gaussian standard deviation.

Example

# set
input:  0/1 PED_GAUSS [0, 0] 1 1
output: <OK>

# get
input:  0/1 PED_GAUSS [0, 0] ?
output: 0/1 PED_GAUSS [0, 0] 1 1