6#ifndef BITCOIN_COMMON_SYSTEM_H
7#define BITCOIN_COMMON_SYSTEM_H
9#include <bitcoin-build-config.h>
SteadyClock::duration GetUptime()
Monotonic uptime (not affected by system time changes).
std::optional< uint64_t > TryGetTotalRam()
Return the total RAM available on the current system, if detectable.
int GetNumCores()
Return the number of cores available on the current system.
std::string ShellEscape(const std::string &arg)
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.