Increment simulator time by up to 30ms in ticks
This commit is contained in:
parent
e43f4e2181
commit
71dcba331e
@ -52,7 +52,7 @@ class SimulatorHandle {
|
||||
std::set<Address> blocked_on_receive_;
|
||||
std::set<Address> server_addresses_;
|
||||
std::mt19937 rng_;
|
||||
std::uniform_int_distribution<int> time_distrib_{0, 1000};
|
||||
std::uniform_int_distribution<int> time_distrib_{0, 30000};
|
||||
std::uniform_int_distribution<int> drop_distrib_{0, 99};
|
||||
SimulatorConfig config_;
|
||||
MessageHistogramCollector histograms_;
|
||||
|
@ -253,8 +253,8 @@ void RunWithSeed(uint64_t seed) {
|
||||
.abort_time = Time::max(),
|
||||
};
|
||||
|
||||
spdlog::info("========================== NEW SIMULATION, replay with RunWithSeed({}) ==========================",
|
||||
seed);
|
||||
spdlog::error("========================== NEW SIMULATION, replay with RunWithSeed({}) ==========================",
|
||||
seed);
|
||||
spdlog::info("\tTime\t\tTerm\tPort\tRole\t\tMessage\n");
|
||||
auto [sim_stats_1, latency_stats_1] = RunSimulation(config);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user