40 #ifndef MADNESS_WOLRD_HARDWARE_H__INCLUDED
41 #ifndef MADNESS_WOLRD_HARDWARE_H__INCLUDED
46 #if defined(__bgp__) || defined(__bgq__)
49 # define HARDWARE_RUNS_BGP
51 # elif defined(__bgq__)
52 # define HARDWARE_RUNS_BGQ
55 #elif (defined(__APPLE__) && defined(__MACH__)) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
56 # define HARDWARE_USE_SYSCTL
57 # include <sys/time.h>
58 # include <sys/types.h>
59 # include <sys/sysctl.h>
60 #elif defined(__unix__) || defined(__linux__)
61 # define HARDWARE_USE_SYSCONF
79 #elif defined(__bgq__)
85 void Hardware::Initialize(
void);
86 void Hardware::Print(std::ostream & out);
92 #endif // MADNESS_WOLRD_HARDWARE_H__INCLUDED
int hwthreads
Definition: hardware.h:73
int64_t memorysize
Definition: hardware.h:75
double cpufrequency
Definition: hardware.h:74
Implements MadnessException.
Holds machinery to set up Functions/FuncImpls using various Factories and Interfaces.
Definition: chem/atomutil.cc:45