Bitcoin Core
25.99.0
P2P Digital Currency
|
#include <util/system.h>
#include <logging.h>
#include <util/string.h>
#include <util/syserror.h>
#include <util/time.h>
#include <sched.h>
#include <sys/stat.h>
#include <cstdlib>
#include <locale>
#include <stdexcept>
#include <string>
#include <thread>
Go to the source code of this file.
Functions | |
std::string | ShellEscape (const std::string &arg) |
void | SetupEnvironment () |
bool | SetupNetworking () |
int | GetNumCores () |
Return the number of cores available on the current system. More... | |
int64_t | GetStartupTime () |
void | ScheduleBatchPriority () |
On platforms that support it, tell the kernel the calling thread is CPU-intensive and non-interactive. More... | |
Variables | |
const int64_t | nStartupTime = GetTime() |
int GetNumCores | ( | ) |
Return the number of cores available on the current system.
Definition at line 105 of file system.cpp.
int64_t GetStartupTime | ( | ) |
void ScheduleBatchPriority | ( | ) |
On platforms that support it, tell the kernel the calling thread is CPU-intensive and non-interactive.
See SCHED_BATCH in sched(7) for details.
Definition at line 116 of file system.cpp.
void SetupEnvironment | ( | ) |
bool SetupNetworking | ( | ) |
std::string ShellEscape | ( | const std::string & | arg | ) |
Definition at line 39 of file system.cpp.
const int64_t nStartupTime = GetTime() |
Definition at line 36 of file system.cpp.