OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ot::SystemInformation Class Reference

#include "SystemInformation.h"

Public Member Functions

 SystemInformation ()
 
virtual ~SystemInformation ()
 
void initialize ()
 Initialize the performance counters. Needs to be called before information can be obtained.
 
void getGlobalCPUAndMemoryLoad (double &cpuLoad, double &memoryLoad)
 Determine the current global system cpu and memory load in percent.
 
void getCurrentProcessCPUAndMemoryLoad (double &cpuLoad, double &memoryLoad)
 Determine the current process cpu and memory load in percent.
 
std::string getBuildInformation ()
 Determine information about the currently used software build.
 

Constructor & Destructor Documentation

◆ SystemInformation()

ot::SystemInformation::SystemInformation ( )

◆ ~SystemInformation()

ot::SystemInformation::~SystemInformation ( )
virtual

Member Function Documentation

◆ getBuildInformation()

std::string ot::SystemInformation::getBuildInformation ( )

Determine information about the currently used software build.

◆ getCurrentProcessCPUAndMemoryLoad()

void ot::SystemInformation::getCurrentProcessCPUAndMemoryLoad ( double & cpuLoad,
double & memoryLoad )

Determine the current process cpu and memory load in percent.

◆ getGlobalCPUAndMemoryLoad()

void ot::SystemInformation::getGlobalCPUAndMemoryLoad ( double & cpuLoad,
double & memoryLoad )

Determine the current global system cpu and memory load in percent.

◆ initialize()

void ot::SystemInformation::initialize ( )

Initialize the performance counters. Needs to be called before information can be obtained.


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