gatb.core-API-0.0.0
ISystemInfo::CpuInfo Class Referenceabstract

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

#include <ISystemInfo.hpp>

Inheritance diagram for ISystemInfo::CpuInfo:
Inheritance graph

Public Member Functions

virtual void start ()=0
 
virtual void stop ()=0
 
virtual double getUsage ()=0
 
- 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 ( )
pure virtual

Get the CPU usage between start and stop.

Implemented in CpuInfoCommon.

virtual void start ( )
pure virtual

Start CPU information acquisition.

Implemented in CpuInfoCommon.

virtual void stop ( )
pure virtual

Stop CPU information acquisition.

Implemented in CpuInfoCommon.


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