Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
90f2fdd2
Commit
90f2fdd2
authored
Oct 28, 2018
by
Simon Spannagel
Browse files
Improve timing printout
parent
7b114ead
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/core/module/ModuleManager.cpp
View file @
90f2fdd2
...
...
@@ -693,7 +693,9 @@ void ModuleManager::finaliseAll() {
void
ModuleManager
::
timing
()
{
LOG
(
STATUS
)
<<
"===============| Wall-clock timing (seconds) |================"
;
for
(
auto
&
module
:
m_modules
)
{
LOG
(
STATUS
)
<<
std
::
setw
(
25
)
<<
module
->
getUniqueName
()
<<
" -- "
<<
std
::
fixed
<<
std
::
setprecision
(
5
)
auto
identifier
=
module
->
get_identifier
().
getIdentifier
();
LOG
(
STATUS
)
<<
std
::
setw
(
25
)
<<
module
->
getConfig
().
getName
()
<<
(
identifier
.
empty
()
?
" "
:
" : "
)
<<
std
::
setw
(
10
)
<<
identifier
<<
" -- "
<<
std
::
fixed
<<
std
::
setprecision
(
5
)
<<
module_execution_time_
[
module
]
<<
" = "
<<
std
::
setprecision
(
9
)
<<
module_execution_time_
[
module
]
/
m_events
<<
" s/evt"
;
}
...
...
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