MistServer  2.5.3-Pro-19-gf5e75b1 ( Generic_64)
Public Member Functions | Data Fields
Controller::cpudata Class Reference

A class storing information about the cpu the server is running on. More...

Public Member Functions

 cpudata ()
 The default constructor. More...
 
void fill (char *data)
 Fills the structure by parsing a given description. More...
 

Data Fields

int cores
 The amount of cores in the cpu. More...
 
int id
 The id of the cpu in the system. More...
 
int mhz
 The speed of the cpu in mhz. More...
 
std::string model
 A string describing the model of the cpu. More...
 
int threads
 The amount of threads this cpu can run. More...
 

Detailed Description

A class storing information about the cpu the server is running on.

Constructor & Destructor Documentation

Controller::cpudata::cpudata ( )
inline

The default constructor.

Member Function Documentation

void Controller::cpudata::fill ( char *  data)
inline

Fills the structure by parsing a given description.

Parameters
dataA description of the cpu.

Field Documentation

int Controller::cpudata::cores

The amount of cores in the cpu.

int Controller::cpudata::id

The id of the cpu in the system.

int Controller::cpudata::mhz

The speed of the cpu in mhz.

std::string Controller::cpudata::model

A string describing the model of the cpu.

int Controller::cpudata::threads

The amount of threads this cpu can run.


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