search for: getnumberofcpucor

Displaying 1 result from an estimated 1 matches for "getnumberofcpucor".

Did you mean: getnumberofcpucores
2010 May 24
0
[PATCH matahari] Moves the CPU properties into the Host API space.
...er); } -Processors& -Host::getProcessors() -{ - return _processors; -} - string Host:: getUUID() const { @@ -163,6 +162,24 @@ Host::isBeeping() const return _beeping; } +string +Host::getCPUModel() const +{ + return Platform::instance()->getCPUModel(); +} + +unsigned int +Host::getNumberOfCPUCores() const +{ + return Platform::instance()->getNumberOfCPUCores(); +} + +double +Host::getLoadAverage() const +{ + return Platform::instance()->getLoadAverage(); +} + void Host::identify(const int iterations) { diff --git a/src/host.h b/src/host.h index bcb8c12..f21c86c 100644 --- a/src/...