Skip to content
GitLab
Menu
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
e3c16e86
Commit
e3c16e86
authored
Aug 03, 2017
by
Peter W. Draper
Browse files
Strip _mapper from threadpool function names, these are getting very long
parent
67957bac
Changes
2
Hide whitespace changes
Inline
Side-by-side
examples/analyse_threadpool_tasks.py
View file @
e3c16e86
...
...
@@ -69,7 +69,7 @@ threads = []
chunks
=
[]
for
i
in
data
:
if
i
[
0
]
!=
"#"
:
funcs
.
append
(
i
[
0
])
funcs
.
append
(
i
[
0
]
.
replace
(
"_mapper"
,
""
)
)
if
i
[
1
]
<
0
:
threads
.
append
(
nthread
-
1
)
else
:
...
...
examples/plot_threadpool.py
View file @
e3c16e86
...
...
@@ -121,7 +121,7 @@ threads = []
chunks
=
[]
for
i
in
data
:
if
i
[
0
]
!=
"#"
:
funcs
.
append
(
i
[
0
])
funcs
.
append
(
i
[
0
]
.
replace
(
"_mapper"
,
""
)
)
if
i
[
1
]
<
0
:
threads
.
append
(
nthread
-
1
)
else
:
...
...
Write
Preview
Supports
Markdown
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