Displaying 2 results from an estimated 2 matches for "getloadaverag".
Did you mean:
getloadaverage
2010 May 24
0
[PATCH matahari] Moves the CPU properties into the Host API space.
...nst
{
@@ -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/host.h
+++ b/src/host.h
@@ -24,7 +24,6 @@
#include <set>
#include "hostlistener.h"
-#...
2010 May 19
2
Squashed commits...
Refactoring the previous patch ended up creating two deltas. This
patch pushes them both together into a single commit.