Bitcoin Core 28.99.0
P2P Digital Currency
Functions | Variables
bench_bitcoin.cpp File Reference
#include <bench/bench.h>
#include <common/args.h>
#include <crypto/sha256.h>
#include <tinyformat.h>
#include <util/fs.h>
#include <util/string.h>
#include <test/util/setup_common.h>
#include <chrono>
#include <cstdint>
#include <cstdlib>
#include <exception>
#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)
 
static std::vector< std::string > parseTestSetupArgs (const ArgsManager &argsman)
 
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 77 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 45 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 57 of file bench_bitcoin.cpp.

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

◆ parseTestSetupArgs()

static std::vector< std::string > parseTestSetupArgs ( const ArgsManager argsman)
static

Definition at line 65 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 28 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 23 of file bench_bitcoin.cpp.

◆ DEFAULT_MIN_TIME_MS

constexpr int64_t DEFAULT_MIN_TIME_MS {10}
staticconstexpr

Definition at line 24 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 26 of file bench_bitcoin.cpp.