BALL
1.4.2
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
BALL
SYSTEM
sysinfo.h
Go to the documentation of this file.
1
// -*- Mode: C++; tab-width: 2; -*-
2
// vi: set ts=2:
3
//
4
// $Id: sysinfo.h,v 1.10 2005/12/23 17:02:07 amoll Exp $
5
//
6
7
#ifndef BALL_SYSTEM_SYSINFO_H
8
#define BALL_SYSTEM_SYSINFO_H
9
10
#ifndef BALL_COMMON_H
11
# include <
BALL/common.h
>
12
#endif
13
14
namespace
BALL
15
{
23
namespace
SysInfo
24
{
28
BALL_EXPORT
LongIndex
getAvailableMemory
();
29
33
BALL_EXPORT
LongIndex
getFreeMemory
();
34
38
BALL_EXPORT
LongIndex
getTotalMemory
();
39
43
BALL_EXPORT
LongIndex
getBufferedMemory
();
44
48
BALL_EXPORT
LongIndex
getFreeSwapSpace
();
49
54
BALL_EXPORT
Time
getUptime
();
55
59
BALL_EXPORT
Index
getNumberOfProcessors
();
60
}
61
}
62
63
#endif // BALL_SYSTEM_SYSINFO_H
Generated by
1.8.3.1