#include <cpu_stats.h>
Public Member Functions | |
const std::vector< CPUData > & | GetEntries () const |
return cpu data entries. More... | |
void | ReadStatsCPU () |
parse /proc/stats. More... | |
Private Attributes | |
std::vector< CPUData > | entries_ |
Parse /proc/stat.
Definition at line 26 of file cpu_stats.h.
|
inline |
return cpu data entries.
Definition at line 32 of file cpu_stats.h.
void CPUStats::ReadStatsCPU | ( | ) |
parse /proc/stats.
Definition at line 23 of file cpu_stats.cpp.
|
private |
Definition at line 40 of file cpu_stats.h.