#include <senf/Utils/CpuStat.hh>

Public Member Functions

 CpuStat (ClockService::clock_type duration=ClockService::milliseconds(0), unsigned user=0, unsigned system=0, unsigned nice=0, unsigned idle=0, unsigned iowait=0, unsigned irq=0, unsigned softirq=0, unsigned steal=0, unsigned guest=0)
 

Public Attributes

ClockService::clock_type duration
 
unsigned user
 
unsigned system
 
unsigned nice
 
unsigned idle
 
unsigned iowait
 
unsigned irq
 
unsigned softirq
 
unsigned steal
 
unsigned guest
 

Detailed Description

Definition at line 28 of file CpuStat.hh.

Constructor & Destructor Documentation

◆ CpuStat()

senf::CpuStat::CpuStat ( ClockService::clock_type  duration = ClockService::milliseconds( 0),
unsigned  user = 0,
unsigned  system = 0,
unsigned  nice = 0,
unsigned  idle = 0,
unsigned  iowait = 0,
unsigned  irq = 0,
unsigned  softirq = 0,
unsigned  steal = 0,
unsigned  guest = 0 
)

Definition at line 28 of file CpuStat.cc.

Member Data Documentation

◆ duration

ClockService::clock_type senf::CpuStat::duration

Definition at line 30 of file CpuStat.hh.

◆ guest

unsigned senf::CpuStat::guest

Definition at line 39 of file CpuStat.hh.

◆ idle

unsigned senf::CpuStat::idle

Definition at line 34 of file CpuStat.hh.

◆ iowait

unsigned senf::CpuStat::iowait

Definition at line 35 of file CpuStat.hh.

◆ irq

unsigned senf::CpuStat::irq

Definition at line 36 of file CpuStat.hh.

◆ nice

unsigned senf::CpuStat::nice

Definition at line 33 of file CpuStat.hh.

◆ softirq

unsigned senf::CpuStat::softirq

Definition at line 37 of file CpuStat.hh.

◆ steal

unsigned senf::CpuStat::steal

Definition at line 38 of file CpuStat.hh.

◆ system

unsigned senf::CpuStat::system

Definition at line 32 of file CpuStat.hh.

◆ user

unsigned senf::CpuStat::user

Definition at line 31 of file CpuStat.hh.


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