class
#include <eckit/system/SystemInfo.h>
SystemInfo
Derived classes
- class SystemInfoFreeBSD
- class SystemInfoLinux
- class SystemInfoMacOSX
Public static functions
- static auto isBigEndian() -> bool
- static auto isLittleEndian() -> bool
- static auto instance() -> const SystemInfo&
Constructors, destructors, conversion operators
- ~SystemInfo() virtual
Public functions
-
auto userName() const -> std::
string virtual -
auto executablePath() const -> eckit::
LocalPathName pure virtual - auto memoryUsage() const -> MemoryInfo pure virtual
-
auto dynamicLibraryName(const std::
string& name) const -> std:: string pure virtual -
void dumpProcMemInfo(std::
ostream&, const char* prepend = nullptr) const virtual -
void dumpSysMemInfo(std::
ostream&, const char* prepend = nullptr) const virtual
Friends
-
auto operator<<(std::
ostream& s, const SystemInfo& p) -> std:: ostream&