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 {
00011     //
00014     struct SystemInfo
00015     {
00016         //overall cpu facts
00017         static uint ProcessorCount; 
00018         static std::string ProcessorName; 
00019         
00020         //per-cpu facts
00021         static uint ProcessorBogomips; 
00022         
00023         //mem info (in MB)
00024         static uint MemoryPhysicalTotal; 
00025         static uint MemorySwapTotal; 
00026         
00027         //os info
00028         static std::string OperatingSystemName; 
00029         
00030         //heuristacal information
00031         static bool SuggestSleepInSpinlock; 
00032     };
00033 }

Generated on Wed Feb 13 20:57:04 2008 for MPMA Framework by  doxygen 1.5.4