Displaying 2 results from an estimated 2 matches for "getarchitecture".
Did you mean:
get_architecture
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.
2010 May 24
0
[PATCH matahari] Moves the CPU properties into the Host API space.
..._listeners;
@@ -55,14 +53,18 @@ class Host
void addHostListener(HostListener*);
void removeHostListener(HostListener*);
- Processors& getProcessors();
-
+ // general host properties
string getUUID() const;
string getHostname() const;
string getHypervisor() const;
string getArchitecture() const;
unsigned int getMemory() const;
+ // CPU properties
+ string getCPUModel() const;
+ unsigned int getNumberOfCPUCores() const;
+ double getLoadAverage() const;
+
bool isBeeping() const;
void identify(const int iterations);
void shutdown();
diff --git a/src/host...