Loading...
Searching...
No Matches
sysinfo.h
Go to the documentation of this file.
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
// $Id: sysinfo.h,v 1.10 2005/12/23 17:02:07 amoll Exp $
//
#ifndef BALL_SYSTEM_SYSINFO_H
#define BALL_SYSTEM_SYSINFO_H
#ifndef BALL_COMMON_H
# include <BALL/common.h>
#endif
namespace BALL
{
namespace SysInfo
{
BALL_EXPORT LongIndex getAvailableMemory();
BALL_EXPORT LongIndex getFreeMemory();
BALL_EXPORT LongIndex getTotalMemory();
BALL_EXPORT LongIndex getBufferedMemory();
BALL_EXPORT LongIndex getFreeSwapSpace();
BALL_EXPORT Time getUptime();
BALL_EXPORT Index getNumberOfProcessors();
}
}
#endif // BALL_SYSTEM_SYSINFO_H
BALL_EXPORT
#define BALL_EXPORT
Definition COMMON/global.h:50
common.h
BALL::SysInfo
Definition sysinfo.h:24
BALL::SysInfo::getNumberOfProcessors
BALL_EXPORT Index getNumberOfProcessors()
BALL::SysInfo::getAvailableMemory
BALL_EXPORT LongIndex getAvailableMemory()
BALL::SysInfo::getBufferedMemory
BALL_EXPORT LongIndex getBufferedMemory()
BALL::SysInfo::getFreeMemory
BALL_EXPORT LongIndex getFreeMemory()
BALL::SysInfo::getFreeSwapSpace
BALL_EXPORT LongIndex getFreeSwapSpace()
BALL::SysInfo::getUptime
BALL_EXPORT Time getUptime()
BALL::SysInfo::getTotalMemory
BALL_EXPORT LongIndex getTotalMemory()
BALL
Definition constants.h:13
BALL::Time
time_t Time
Definition COMMON/global.h:123
BALL::LongIndex
BALL_LONG64_TYPE LongIndex
Definition COMMON/global.h:201
BALL::Index
BALL_INDEX_TYPE Index
Definition COMMON/global.h:105