29 #ifndef CASA_HOSTINFO_H
30 #define CASA_HOSTINFO_H
39 class HostMachineInfo;
121 static ptrdiff_t
memoryTotal(
bool use_aipsrc=
false);
159 #if defined(AIPS_LITTLE_ENDIAN)
static HostMachineInfo * info
const HostInfo & operator=(const HostInfo &)
static ptrdiff_t memoryUsed()
static Int setNumCPUs(Int numCPUs)
HostInfo()
we don't want folks creating these...
static ptrdiff_t resources_memory
static Int resources_memfrac
static ptrdiff_t swapUsed()
static Int setMemoryFraction(Int memfrac)
bool Bool
Define the standard types used by Casacore.
static ptrdiff_t swapFree()
static ptrdiff_t memoryFree()
static Int numCPUs(bool use_aipsrc=false)
Returns 0 if unable to determine the number of CPUs.
static ptrdiff_t memoryTotal(bool use_aipsrc=false)
Get memory info (in KBytes).
static ptrdiff_t swapTotal()
Get swap space info (in KBytes).
String: the storage and methods of handling collections of characters.
static Bool bigEndian()
Returns True for big endian machines (like SUN).
static Int resources_numCPUs
Miscellaneous information about this host and process.
static Double secondsFrom1970()
static ptrdiff_t setMemoryTotal(ptrdiff_t memory)
Allows to set custom resource values overriding the existing.apisrc setting and/or system defaults Ex...
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.