Module stage0

Module stage0 

Source
Expand description

Timestamp generation

Structs§

BinBasedGenerator
The generator generates timestamp from bins In net_injection mode, it trickles the generation
TimeModel

Traits§

Stage0
Stage 0: generate timestamps. Generate a throughput according to some distribution and never stops. It always prepares the next windows (i.e., not the one being sent)

Functions§

run_channel
Generate data and send them progressively to a channel
run_vec
Generate data into a vector