From 53fe48bf57a62cdd652d82fbe2b088b5ad598b6a Mon Sep 17 00:00:00 2001 From: Dorian Weber <weber@informatik.hu-berlin.de> Date: Sat, 30 Jan 2021 02:53:39 +0100 Subject: [PATCH] Minor corrections. --- benches/barbershop.rs | 2 +- examples/barbershop.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/benches/barbershop.rs b/benches/barbershop.rs index ce7f58c..179410d 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 1a78436..a29aa15 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 } -- GitLab