Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
dynamic-graph
Commits
2c4395ed
Commit
2c4395ed
authored
Jun 26, 2020
by
Olivier Stasse
Browse files
Fix warnings in process-list.cpp (warnings)
parent
408197f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/mt/process-list.cpp
View file @
2c4395ed
...
...
@@ -141,8 +141,8 @@ void System::readProcStat() {
if
(
!
init_
)
{
/// The number of CPU has been detected by going through /proc/stat.
vCPUData_
.
resize
(
cpuNb_
+
1
);
for
(
int
i
=
0
;
i
<
(
int
)
cpuNb_
;
i
++
)
vCPUData_
[
i
].
cpu_id_
=
i
;
for
(
unsigned
long
i
=
0
;
i
<
(
unsigned
long
)
cpuNb_
;
i
++
)
vCPUData_
[
i
].
cpu_id_
=
(
int
)
i
;
}
aif
.
close
();
}
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