Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
e3b5179e
Commit
e3b5179e
authored
Aug 08, 2022
by
Jonas Kaufmann
Committed by
Antoine Kaufmann
Aug 23, 2022
Browse files
remove repetition in Experiment doc strings
parent
6833b906
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
experiments/simbricks/experiments.py
experiments/simbricks/experiments.py
+4
-4
No files found.
experiments/simbricks/experiments.py
View file @
e3b5179e
...
@@ -49,13 +49,13 @@ class Experiment(object):
...
@@ -49,13 +49,13 @@ class Experiment(object):
self
.
timeout
:
tp
.
Optional
[
int
]
=
None
self
.
timeout
:
tp
.
Optional
[
int
]
=
None
"""Timeout for experiment in seconds."""
"""Timeout for experiment in seconds."""
self
.
checkpoint
=
False
self
.
checkpoint
=
False
"""Whether to use checkpoints in experiment.
"""Whether to use checkpoints in
the
experiment.
Using this property we can, for example, speed up booting a host
Using this property we can, for example, speed up booting a host
simulator by first running in a less accurate mode. Before we then start
simulator by first running in a less accurate mode. Before we then start
the measurement we are interested in, a checkpoint is taken
and
the
the measurement we are interested in, a checkpoint is taken
,
the
simulator shut down
, a check point created,
and finally restored in the
simulator shut down and finally restored in the
accurate mode using this
accurate mode using this
checkpoint."""
checkpoint."""
self
.
no_simbricks
=
False
self
.
no_simbricks
=
False
"""If `true`, no simbricks adapters are used in any of the
"""If `true`, no simbricks adapters are used in any of the
simulators."""
simulators."""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment