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