Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Simcore-rs
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dorian Weber
Simcore-rs
Commits
53fe48bf
There was an error fetching the commit references. Please try again later.
Commit
53fe48bf
authored
4 years ago
by
Dorian Weber
Browse files
Options
Downloads
Patches
Plain Diff
Minor corrections.
parent
008f1cda
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
benches/barbershop.rs
+1
-1
1 addition, 1 deletion
benches/barbershop.rs
examples/barbershop.rs
+0
-1
0 additions, 1 deletion
examples/barbershop.rs
with
1 addition
and
2 deletions
benches/barbershop.rs
+
1
−
1
View file @
53fe48bf
...
...
@@ -5,7 +5,7 @@ mod support;
const
SLX_PATH
:
&
'static
str
=
"C:/Wolverine/SLX/sse.exe"
;
const
RANGE
:
u32
=
10
;
const
STEP
:
Time
=
1
6
000.0
;
const
STEP
:
Time
=
1000.0
;
fn
barbershop_bench
(
c
:
&
mut
Criterion
)
{
let
mut
group
=
c
.benchmark_group
(
"Barbershop"
);
...
...
This diff is collapsed.
Click to expand it.
examples/barbershop.rs
+
0
−
1
View file @
53fe48bf
...
...
@@ -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
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment