Bitcoin Core  27.99.0
P2P Digital Currency
Functions
system.h File Reference
#include <config/bitcoin-config.h>
#include <cstdint>
#include <string>
Include dependency graph for system.h:

Go to the source code of this file.

Functions

int64_t GetStartupTime ()
 
void SetupEnvironment ()
 
bool SetupNetworking ()
 
std::string ShellEscape (const std::string &arg)
 
int GetNumCores ()
 Return the number of cores available on the current system. More...
 

Function Documentation

◆ GetNumCores()

int GetNumCores ( )

Return the number of cores available on the current system.

Note
This does count virtual cores, such as those provided by HyperThreading.

Definition at line 101 of file system.cpp.

Here is the caller graph for this function:

◆ GetStartupTime()

int64_t GetStartupTime ( )

Definition at line 107 of file system.cpp.

Here is the caller graph for this function:

◆ SetupEnvironment()

void SetupEnvironment ( )

Definition at line 57 of file system.cpp.

◆ SetupNetworking()

bool SetupNetworking ( )

Definition at line 89 of file system.cpp.

Here is the caller graph for this function:

◆ ShellEscape()

std::string ShellEscape ( const std::string &  arg)

Definition at line 35 of file system.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: