Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
wolf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
mobile_robotics
wolf_projects
wolf_lib
wolf
Commits
8918eb46
Commit
8918eb46
authored
4 months ago
by
cont-integration
Browse files
Options
Downloads
Patches
Plain Diff
[skip ci] applied clang format
parent
45c15590
No related branches found
Branches containing commit
No related tags found
1 merge request
!448
Draft: Resolve "Implementation of new nodes creation"
Pipeline
#20354
skipped
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/common/profiling_unit.cpp
+2
-3
2 additions, 3 deletions
src/common/profiling_unit.cpp
with
2 additions
and
3 deletions
src/common/profiling_unit.cpp
+
2
−
3
View file @
8918eb46
...
...
@@ -23,7 +23,6 @@
namespace
wolf
{
ProfilingUnit
::
ProfilingUnit
(
double
desired_period_sec
)
:
running_
(
false
),
desired_period_
(
1e6
*
desired_period_sec
),
...
...
@@ -125,8 +124,8 @@ void ProfilingUnit::printProfiling(const std::string& _tabs, std::ostream& _stre
_stream
<<
_tabs
<<
"desired period: "
<<
printDuration
(
desired_period_
)
//
<<
" (reference)
\n
"
;
_stream
<<
_tabs
<<
"avg period: "
<<
printDuration
(
average_period_
)
//
<<
(
desired_period_
>
0
?
"
\n
"
:
" (reference)
\n
"
)
<<
_tabs
<<
"avg time: "
<<
printDuration
(
acc_duration_
.
count
()
/
n_callbacks_
)
//
<<
(
desired_period_
>
0
?
"
\n
"
:
" (reference)
\n
"
)
<<
_tabs
<<
"avg time: "
<<
printDuration
(
acc_duration_
.
count
()
/
n_callbacks_
)
//
<<
" ("
<<
average_percent
<<
"%)"
<<
"
\n
"
<<
_tabs
<<
"stdev time: "
<<
printDuration
(
sqrt
(
var_duration_
))
//
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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