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
Guilhem Saurel
dynamic-graph
Commits
c6e0ce11
Unverified
Commit
c6e0ce11
authored
Aug 12, 2019
by
corentinberge
Committed by
GitHub
Aug 12, 2019
Browse files
Update process-list.cpp
Delete the cout and the include of iostream
parent
0571b3a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/mt/process-list.cpp
View file @
c6e0ce11
...
...
@@ -2,7 +2,6 @@
* Author: O. Stasse, 2019
* See LICENSE file in the root directory of this repository.
*/
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
...
...
@@ -95,8 +94,7 @@ void CPUData::ProcessLine(std::istringstream &aCPULine)
percent_
+=
(
double
)(
softirq_period_
)
/
(
double
)(
total_period_
)
*
100.0
;
percent_
+=
(
double
)(
steal_period_
)
/
(
double
)(
total_period_
)
*
100.0
;
percent_
+=
(
double
)(
iowait_period_
)
/
(
double
)(
total_period_
)
*
100.0
;
}
std
::
cout
<<
cpu_id_
<<
" "
<<
percent_
<<
std
::
endl
;
}
}
System
::
System
()
...
...
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