Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
b23d92ff
Commit
b23d92ff
authored
Jun 22, 2015
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Coding style nitpicks
parent
306d4881
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
libcaf_core/caf/scheduler/profiled_coordinator.hpp
libcaf_core/caf/scheduler/profiled_coordinator.hpp
+2
-2
No files found.
libcaf_core/caf/scheduler/profiled_coordinator.hpp
View file @
b23d92ff
...
@@ -228,7 +228,7 @@ public:
...
@@ -228,7 +228,7 @@ public:
}
}
template
<
class
Time
,
class
Label
>
template
<
class
Time
,
class
Label
>
void
record
(
Time
t
,
Label
label
,
size_t
id
,
measurement
cons
t
&
m
)
{
void
record
(
Time
t
,
Label
label
,
size_t
id
,
const
measuremen
t
&
m
)
{
using
std
::
setw
;
using
std
::
setw
;
file_
<<
setw
(
21
)
<<
t
.
time_since_epoch
().
count
()
file_
<<
setw
(
21
)
<<
t
.
time_since_epoch
().
count
()
<<
setw
(
10
)
<<
label
<<
setw
(
10
)
<<
label
...
@@ -237,7 +237,7 @@ public:
...
@@ -237,7 +237,7 @@ public:
<<
std
::
endl
;
<<
std
::
endl
;
}
}
void
report
(
actor_id
const
&
job
,
measurement
cons
t
&
m
)
{
void
report
(
const
actor_id
&
job
,
const
measuremen
t
&
m
)
{
std
::
lock_guard
<
std
::
mutex
>
job_guard
{
job_mtx_
};
std
::
lock_guard
<
std
::
mutex
>
job_guard
{
job_mtx_
};
jobs_
[
job
]
+=
m
;
jobs_
[
job
]
+=
m
;
if
(
m
.
time
-
last_flush_
>=
resolution_
)
{
if
(
m
.
time
-
last_flush_
>=
resolution_
)
{
...
...
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