00001 // -*- Mode: C++; tab-width: 2; -*- 00002 // vi: set ts=2: 00003 // 00004 // $Id: sysinfo.h,v 1.10 2005/12/23 17:02:07 amoll Exp $ 00005 // 00006 00007 #ifndef BALL_SYSTEM_SYSINFO_H 00008 #define BALL_SYSTEM_SYSINFO_H 00009 00010 #ifndef BALL_COMMON_H 00011 # include <BALL/common.h> 00012 #endif 00013 00014 namespace BALL 00015 { 00023 namespace SysInfo 00024 { 00028 BALL_EXPORT LongIndex getAvailableMemory(); 00029 00033 BALL_EXPORT LongIndex getFreeMemory(); 00034 00038 BALL_EXPORT LongIndex getTotalMemory(); 00039 00043 BALL_EXPORT LongIndex getBufferedMemory(); 00044 00048 BALL_EXPORT LongIndex getFreeSwapSpace(); 00049 00054 BALL_EXPORT Time getUptime(); 00055 00059 BALL_EXPORT Index getNumberOfProcessors(); 00060 } 00061 } 00062 00063 #endif // BALL_SYSTEM_SYSINFO_H