Stride Reference Manual
- generated for commit 9643b11
|
Config information. More...
#include <ConfigInfo.h>
Static Public Member Functions | |
static constexpr bool | HaveOpenMP () |
True if OpenMP in executable, false otherwise. More... | |
static std::string | GitRevision () |
Return git revision string. More... | |
static std::string | GetHostname () |
Return current hostname. More... | |
static unsigned int | NumberAvailableThreads () |
Return number of threads (in case of OpenMP). More... | |
static unsigned int | ProcessorCount () |
Return processor count for system. More... | |
Config information.
Definition at line 31 of file ConfigInfo.h.
|
inlinestatic |
True if OpenMP in executable, false otherwise.
Definition at line 35 of file ConfigInfo.h.
References GetHostname(), GitRevision(), NumberAvailableThreads(), and ProcessorCount().
Referenced by stride::ControlHelper::LogStartup().
|
static |
Return git revision string.
Definition at line 33 of file ConfigInfo.cpp.
References TOSTRING.
Referenced by HaveOpenMP(), and stride::ControlHelper::LogStartup().
|
static |
Return current hostname.
Definition at line 35 of file ConfigInfo.cpp.
Referenced by HaveOpenMP().
|
static |
Return number of threads (in case of OpenMP).
Definition at line 44 of file ConfigInfo.cpp.
Referenced by HaveOpenMP(), and stride::ControlHelper::LogStartup().
|
static |
Return processor count for system.
Definition at line 42 of file ConfigInfo.cpp.
Referenced by HaveOpenMP(), and stride::ControlHelper::LogStartup().