Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
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 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}

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

Definition at line 63 of file bench_bitcoin.cpp.

Here is the call graph for this function:

◆ parseAsymptote()

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

Definition at line 39 of file bench_bitcoin.cpp.

Here is the caller graph for this function:

◆ parseTestSetupArgs()

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

Definition at line 51 of file bench_bitcoin.cpp.

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

◆ SetupBenchArgs()

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 21 of file bench_bitcoin.cpp.

◆ DEFAULT_MIN_TIME_MS

int64_t DEFAULT_MIN_TIME_MS {10}
staticconstexpr

Definition at line 22 of file bench_bitcoin.cpp.