diff --git a/benches/barbershop.rs b/benches/barbershop.rs index ce7f58c374d3b9ffc38c7f5dfd90903031f13569..179410d8de3e021753f69fbd9f40ad4849f2f1bf 100644 --- a/benches/barbershop.rs +++ b/benches/barbershop.rs @@ -5,7 +5,7 @@ mod support; const SLX_PATH: &'static str = "C:/Wolverine/SLX/sse.exe"; const RANGE: u32 = 10; -const STEP: Time = 16000.0; +const STEP: Time = 1000.0; fn barbershop_bench(c: &mut Criterion) { let mut group = c.benchmark_group("Barbershop"); diff --git a/examples/barbershop.rs b/examples/barbershop.rs index 1a78436ca647a30e78d35bbd2a455a676c62c30b..a29aa152cf482e2a1c4392c586df57d757d53df9 100644 --- a/examples/barbershop.rs +++ b/examples/barbershop.rs @@ -11,7 +11,6 @@ struct Shared { const SIM_DURATION : Time = 60.0*24.0*7.0*3.0; // simulation runs over 3 weeks const SEED_A : u64 = 100000; const SEED_S : u64 = 200000; -const BENCH_SAMPLES: u64 = 100; /// Customer process with access to the barber and a random processing delay. struct Customer { delay: Time }