Bitcoin Core  27.99.0
P2P Digital Currency
Functions | Variables
bench_bitcoin.cpp File Reference
#include <bench/bench.h>
#include <clientversion.h>
#include <common/args.h>
#include <crypto/sha256.h>
#include <util/fs.h>
#include <util/strencodings.h>
#include <chrono>
#include <cstdint>
#include <iostream>
#include <sstream>
#include <vector>
Include dependency graph for bench_bitcoin.cpp:

Go to the source code of this file.

Functions

static void SetupBenchArgs (ArgsManager &argsman)
 
static std::vector< double > parseAsymptote (const std::string &str)
 
static uint8_t parsePriorityLevel (const std::string &str)
 
int main (int argc, char **argv)
 

Variables

static const char * DEFAULT_BENCH_FILTER = ".*"
 
static constexpr int64_t DEFAULT_MIN_TIME_MS {10}
 
static const std::string DEFAULT_PRIORITY {"all"}
 Priority level default value, run "all" priority levels. More...
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 60 of file bench_bitcoin.cpp.

Here is the call graph for this function:

◆ parseAsymptote()

static std::vector<double> parseAsymptote ( const std::string &  str)
static

Definition at line 40 of file bench_bitcoin.cpp.

Here is the caller graph for this function:

◆ parsePriorityLevel()

static uint8_t parsePriorityLevel ( const std::string &  str)
static

Definition at line 52 of file bench_bitcoin.cpp.

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

◆ SetupBenchArgs()

static void SetupBenchArgs ( ArgsManager argsman)
static

Definition at line 24 of file bench_bitcoin.cpp.

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

Variable Documentation

◆ DEFAULT_BENCH_FILTER

const char* DEFAULT_BENCH_FILTER = ".*"
static

Definition at line 19 of file bench_bitcoin.cpp.

◆ DEFAULT_MIN_TIME_MS

constexpr int64_t DEFAULT_MIN_TIME_MS {10}
staticconstexpr

Definition at line 20 of file bench_bitcoin.cpp.

◆ DEFAULT_PRIORITY

const std::string DEFAULT_PRIORITY {"all"}
static

Priority level default value, run "all" priority levels.

Definition at line 22 of file bench_bitcoin.cpp.