gatb.core-API-1.4.2
CpuInfoCommon Class Reference

Interface providing a way to get CPU usage information. More...

Inheritance diagram for CpuInfoCommon:
Inheritance graph

Public Member Functions

virtual void start ()
 
virtual void stop ()
 
virtual double getUsage ()
 
- Public Member Functions inherited from SmartPointer
void use ()
 
void forget ()
 
- Public Member Functions inherited from ISmartPointer
virtual ~ISmartPointer ()
 

Additional Inherited Members

- Protected Member Functions inherited from SmartPointer
 SmartPointer ()
 
virtual ~SmartPointer ()
 

Detailed Description

Interface providing a way to get CPU usage information.

Member Function Documentation

virtual double getUsage ( )
inlinevirtual

Get the CPU usage between start and stop.

Implements ISystemInfo::CpuInfo.

virtual void start ( )
inlinevirtual

Start CPU information acquisition.

Implements ISystemInfo::CpuInfo.

virtual void stop ( )
inlinevirtual

Stop CPU information acquisition.

Implements ISystemInfo::CpuInfo.


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