#include <ored/utilities/log.hpp>
#include <ored/utilities/osutils.hpp>
#include <ored/version.hpp>
#include <fstream>
#include <iomanip>
#include <sstream>
#include <boost/version.hpp>
#include <ql/version.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/algorithm/string/trim.hpp>
#include <stdio.h>
#include <sys/resource.h>
#include <sys/utsname.h>
#include <unistd.h>
#include <execinfo.h>
#include <signal.h>
Go to the source code of this file.
Namespaces | |
namespace | ore |
Serializable Credit Default Swap. | |
namespace | ore::data |
namespace | ore::data::os |
Functions | |
string | getSystemDetails () |
Returns all the above system details in a single string. More... | |
string | getMemoryUsage () |
Returns the current process memory usage. More... | |
string | getPeakMemoryUsage () |
Returns the current process peak memory usage. More... | |
unsigned long long | getPeakMemoryUsageBytes () |
Returns the current process peak memory usage in bytes. More... | |
string | getUsername () |
Returns the current username. More... | |
string | getHostname () |
Returns the machine name. More... | |
string | getOsName () |
Returns the OS Name. More... | |
string | getOsVersion () |
Returns the OS Version. More... | |
string | getCpuName () |
Returns the CPU name (e.g. "Intel(R) Core(TM) i7-3720QM CPU @ 2.60GHz". More... | |
unsigned int | getNumberCores () |
Returns the number of Cores available to the OS. More... | |
unsigned long long | getMemoryUsageBytes () |
string | getMemoryRAM () |
Returns the total amount of memory available (installed RAM) More... | |
void | dumpStacktrace () |
Write the current stacktrace to stderr and LOG() with level = ALERT. More... | |
void | setAssertHandler () |
Set an assert handler that logs the stacktrace. More... | |