Public Member Functions | Public Attributes | Friends | List of all members
dynamicgraph::CPU::CPUData Class Reference

#include <process-list.hh>

Public Member Functions

unsigned long long int computePeriod (unsigned long long int &a, unsigned long long int &b)
 
 CPUData ()
 
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_
 
unsigned long long int guest_time_
 
unsigned long long int guest_nice_time_
 
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_
 
unsigned long long int guest_period_
 

Friends

class boost::serialization::access
 

Detailed Description

This class gather information on a specific CPU.

Definition at line 27 of file process-list.hh.

Constructor & Destructor Documentation

◆ CPUData()

CPUData::CPUData ( )

Definition at line 11 of file process-list.cpp.

Member Function Documentation

◆ computePeriod()

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

Definition at line 32 of file process-list.hh.

◆ ProcessLine()

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

Update time.

Definition at line 24 of file process-list.cpp.

◆ serialize()

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

Definition at line 107 of file process-list.hh.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 104 of file process-list.hh.

Member Data Documentation

◆ cpu_id_

int dynamicgraph::CPU::CPUData::cpu_id_

Definition at line 30 of file process-list.hh.

◆ 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)

Definition at line 68 of file process-list.hh.

◆ 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

Definition at line 98 of file process-list.hh.

◆ 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

Definition at line 64 of file process-list.hh.

◆ idle_all_period_

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

Time spend in doing nothing.

Definition at line 86 of file process-list.hh.

◆ idle_all_time_

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

Time spend in doing nothing.

Definition at line 52 of file process-list.hh.

◆ idle_period_

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

Time spend in doing nothing.

Definition at line 84 of file process-list.hh.

◆ idle_time_

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

Time spend in doing nothing.

Definition at line 50 of file process-list.hh.

◆ iowait_period_

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

Time spend in waiting an input/output to complete.

Definition at line 88 of file process-list.hh.

◆ iowait_time_

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

Time spend in waiting an input/output to complete.

Definition at line 54 of file process-list.hh.

◆ irq_period_

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

Time spend in servicing hardware interrupts.

Definition at line 90 of file process-list.hh.

◆ irq_time_

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

Time spend in servicing hardware interrupts.

Definition at line 56 of file process-list.hh.

◆ nice_period_

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

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

Definition at line 78 of file process-list.hh.

◆ nice_time_

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

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

Definition at line 44 of file process-list.hh.

◆ percent_

double dynamicgraph::CPU::CPUData::percent_

Definition at line 101 of file process-list.hh.

◆ softirq_period_

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

Time spend in servicing software interrupts.

Definition at line 92 of file process-list.hh.

◆ softirq_time_

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

Time spend in servicing software interrupts.

Definition at line 58 of file process-list.hh.

◆ 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 !

Definition at line 95 of file process-list.hh.

◆ 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 !

Definition at line 61 of file process-list.hh.

◆ system_all_period_

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

Time spend in all system mode.

Definition at line 82 of file process-list.hh.

◆ system_all_time_

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

Time spend in system mode.

Definition at line 48 of file process-list.hh.

◆ system_period_

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

Time spend in system mode.

Definition at line 80 of file process-list.hh.

◆ system_time_

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

Time spend in system mode.

Definition at line 46 of file process-list.hh.

◆ total_period_

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

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

Definition at line 74 of file process-list.hh.

◆ total_time_

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

Various classes of time spend by the CPUTotal time.

Definition at line 40 of file process-list.hh.

◆ user_mode_period_

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

Time spend in user mode.

Definition at line 76 of file process-list.hh.

◆ user_mode_time_

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

Time spend in user mode.

Definition at line 42 of file process-list.hh.


The documentation for this class was generated from the following files:


dynamic-graph
Author(s): Nicolas Mansard, Olivier Stasse
autogenerated on Fri Aug 2 2024 08:36:39