Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
7f2c05d4
Commit
7f2c05d4
authored
Sep 18, 2017
by
Peter W. Draper
Browse files
Report the range in tics of the threadpool tasks
parent
15b38868
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/plot_threadpool.py
View file @
7f2c05d4
...
...
@@ -135,12 +135,11 @@ funcs = pl.array(funcs)
threads
=
pl
.
array
(
threads
)
chunks
=
pl
.
array
(
chunks
)
# Recover the start and end time
tic_step
=
min
(
tics
)
toc_step
=
max
(
tocs
)
# Not known.
print
"# Min tic = "
,
tic_step
print
"# Max toc = "
,
toc_step
# Calculate the time range, if not given.
delta_t
=
delta_t
*
CPU_CLOCK
...
...
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment