[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Q] Error Model



When  error model set unit to time, does pkt loss occurred?
I cannot see any pkt loss .
please help me.

script is shown below.
this script works without errros, but no pkt loss occurred.
How can I use unit as time.

********************
set unit time
set rate [list 500 300]

set rng [new RNG]
$rng seed 0

set rv0 [new    RandomVariable/Exponential]
$rv0 use-rng $rng
set rv1 [new    RandomVariable/Exponential]
$rv1 use-rng $rng

set em [new ErrorModel/TwoState $rv0 $rv1 $unit]

*********************