dynamicgraph::CPU::CPUData Class Reference

This class gather information on a specific CPU. More...

#include <dynamic-graph/process-list.hh>

Public Member Functions

 CPUData ()
 
unsigned long long int computePeriod (unsigned long long int &a, unsigned long long int &b)
 
void ProcessLine (std::istringstream &aCPULine)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Public Attributes

int cpu_id_
 
double percent_
 
unsigned long long int total_time_
 Various classes of time spend by the CPUTotal time. More...
 
unsigned long long int user_mode_time_
 Time spend in user mode. More...
 
unsigned long long int nice_time_
 Time spend in user mode with low priority (nice mode) More...
 
unsigned long long int system_time_
 Time spend in system mode. More...
 
unsigned long long int system_all_time_
 Time spend in system mode. More...
 
unsigned long long int idle_time_
 Time spend in doing nothing. More...
 
unsigned long long int idle_all_time_
 Time spend in doing nothing. More...
 
unsigned long long int iowait_time_
 Time spend in waiting an input/output to complete. More...
 
unsigned long long int irq_time_
 Time spend in servicing hardware interrupts. More...
 
unsigned long long int softirq_time_
 Time spend in servicing software interrupts. More...
 
unsigned long long int steal_time_
 Time spend in other operating systems in a virtualized environments Never doing this for control ! More...
 
unsigned long long int guest_time_
 Time spend running a virtual CPU for guest operating systems under the control of the Linux kernel. More...
 
unsigned long long int guest_nice_time_
 Time spent running a niced guest (virtual CPU for guest operating systems under the control of the Linux kernel) More...
 
unsigned long long int total_period_
 Various classes of time spend by the CPU by periodTotal time. More...
 
unsigned long long int user_mode_period_
 Time spend in user mode. More...
 
unsigned long long int nice_period_
 Time spend in user mode with low priority (nice mode) More...
 
unsigned long long int system_period_
 Time spend in system mode. More...
 
unsigned long long int system_all_period_
 Time spend in all system mode. More...
 
unsigned long long int idle_period_
 Time spend in doing nothing. More...
 
unsigned long long int idle_all_period_
 Time spend in doing nothing. More...
 
unsigned long long int iowait_period_
 Time spend in waiting an input/output to complete. More...
 
unsigned long long int irq_period_
 Time spend in servicing hardware interrupts. More...
 
unsigned long long int softirq_period_
 Time spend in servicing software interrupts. More...
 
unsigned long long int steal_period_
 Time spend in other operating systems in a virtualized environments Never doing this for control ! More...
 
unsigned long long int guest_period_
 Time spend running a virtual CPU for guest operating systems under the control of the Linux kernel. More...
 

Friends

class boost::serialization::access
 

Detailed Description

This class gather information on a specific CPU.

Constructor & Destructor Documentation

◆ CPUData()

dynamicgraph::CPU::CPUData::CPUData ( )

Member Function Documentation

◆ computePeriod()

unsigned long long int dynamicgraph::CPU::CPUData::computePeriod ( unsigned long long int &  a,
unsigned long long int &  b 
)
inline

◆ ProcessLine()

void dynamicgraph::CPU::CPUData::ProcessLine ( std::istringstream &  aCPULine)

◆ serialize()

template<class Archive >
void dynamicgraph::CPU::CPUData::serialize ( Archive &  ar,
const unsigned int  version 
)
inline

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Member Data Documentation

◆ cpu_id_

int dynamicgraph::CPU::CPUData::cpu_id_

◆ guest_nice_time_

unsigned long long int dynamicgraph::CPU::CPUData::guest_nice_time_

Time spent running a niced guest (virtual CPU for guest operating systems under the control of the Linux kernel)

◆ guest_period_

unsigned long long int dynamicgraph::CPU::CPUData::guest_period_

Time spend running a virtual CPU for guest operating systems under the control of the Linux kernel.

◆ guest_time_

unsigned long long int dynamicgraph::CPU::CPUData::guest_time_

Time spend running a virtual CPU for guest operating systems under the control of the Linux kernel.

◆ idle_all_period_

unsigned long long int dynamicgraph::CPU::CPUData::idle_all_period_

Time spend in doing nothing.

◆ idle_all_time_

unsigned long long int dynamicgraph::CPU::CPUData::idle_all_time_

Time spend in doing nothing.

◆ idle_period_

unsigned long long int dynamicgraph::CPU::CPUData::idle_period_

Time spend in doing nothing.

◆ idle_time_

unsigned long long int dynamicgraph::CPU::CPUData::idle_time_

Time spend in doing nothing.

◆ iowait_period_

unsigned long long int dynamicgraph::CPU::CPUData::iowait_period_

Time spend in waiting an input/output to complete.

◆ iowait_time_

unsigned long long int dynamicgraph::CPU::CPUData::iowait_time_

Time spend in waiting an input/output to complete.

◆ irq_period_

unsigned long long int dynamicgraph::CPU::CPUData::irq_period_

Time spend in servicing hardware interrupts.

◆ irq_time_

unsigned long long int dynamicgraph::CPU::CPUData::irq_time_

Time spend in servicing hardware interrupts.

◆ nice_period_

unsigned long long int dynamicgraph::CPU::CPUData::nice_period_

Time spend in user mode with low priority (nice mode)

◆ nice_time_

unsigned long long int dynamicgraph::CPU::CPUData::nice_time_

Time spend in user mode with low priority (nice mode)

◆ percent_

double dynamicgraph::CPU::CPUData::percent_

◆ softirq_period_

unsigned long long int dynamicgraph::CPU::CPUData::softirq_period_

Time spend in servicing software interrupts.

◆ softirq_time_

unsigned long long int dynamicgraph::CPU::CPUData::softirq_time_

Time spend in servicing software interrupts.

◆ steal_period_

unsigned long long int dynamicgraph::CPU::CPUData::steal_period_

Time spend in other operating systems in a virtualized environments Never doing this for control !

◆ steal_time_

unsigned long long int dynamicgraph::CPU::CPUData::steal_time_

Time spend in other operating systems in a virtualized environments Never doing this for control !

◆ system_all_period_

unsigned long long int dynamicgraph::CPU::CPUData::system_all_period_

Time spend in all system mode.

◆ system_all_time_

unsigned long long int dynamicgraph::CPU::CPUData::system_all_time_

Time spend in system mode.

◆ system_period_

unsigned long long int dynamicgraph::CPU::CPUData::system_period_

Time spend in system mode.

◆ system_time_

unsigned long long int dynamicgraph::CPU::CPUData::system_time_

Time spend in system mode.

◆ total_period_

unsigned long long int dynamicgraph::CPU::CPUData::total_period_

Various classes of time spend by the CPU by periodTotal time.

◆ total_time_

unsigned long long int dynamicgraph::CPU::CPUData::total_time_

Various classes of time spend by the CPUTotal time.

◆ user_mode_period_

unsigned long long int dynamicgraph::CPU::CPUData::user_mode_period_

Time spend in user mode.

◆ user_mode_time_

unsigned long long int dynamicgraph::CPU::CPUData::user_mode_time_

Time spend in user mode.