mpLinkCharacteristics: precise delay in ms
This commit is contained in:
parent
b27d2b545b
commit
74f567ffe7
@ -36,7 +36,7 @@ class MpLinkCharacteristics:
|
|||||||
cmd = cmd + " tc qdisc change dev " + ifname + " "
|
cmd = cmd + " tc qdisc change dev " + ifname + " "
|
||||||
cmd = cmd + " parent " + MpLinkCharacteristics.tcNetemParent
|
cmd = cmd + " parent " + MpLinkCharacteristics.tcNetemParent
|
||||||
cmd = cmd + " handle " + MpLinkCharacteristics.tcNetemHandle
|
cmd = cmd + " handle " + MpLinkCharacteristics.tcNetemHandle
|
||||||
cmd = cmd + " netem " + n.cmd + " delay " + self.delay
|
cmd = cmd + " netem " + n.cmd + " delay " + self.delay + "ms"
|
||||||
cmd = cmd + " rate " + self.bandwidth + "mbit && "
|
cmd = cmd + " rate " + self.bandwidth + "mbit && "
|
||||||
cmd = cmd + " true &"
|
cmd = cmd + " true &"
|
||||||
return cmd
|
return cmd
|
||||||
|
Loading…
Reference in New Issue
Block a user