MPMA Framework 0.4
Info.h
Go to the documentation of this file.
00001 
00002 //Luke Lenhart (2007)
00003 //See /docs/License.txt for details on how this code may be used.
00004 
00005 #pragma once
00006 #include <string>
00007 #include "Types.h"
00008 
00009 namespace MPMA
00010 {
00013     struct SystemInfo
00014     {
00015         //overall cpu facts
00016         static nuint ProcessorCount; 
00017         static std::string ProcessorName; 
00018         static bool ProcessorHyperthreading; 
00019 
00020         //per-cpu facts
00021         static nuint ProcessorBogomips; 
00022         
00023         //mem info (in MB)
00024         static nuint MemoryPhysicalTotal; 
00025         static nuint MemorySwapTotal; 
00026 
00027         //os info
00028         static std::string OperatingSystemName; 
00029 
00030         //heuristacal information
00031         static bool SuggestSleepInSpinlock; 
00032     };
00033 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends