Bitcoin Core  27.99.0
P2P Digital Currency
Namespaces | Functions | Variables
bench.cpp File Reference
#include <bench/bench.h>
#include <test/util/setup_common.h>
#include <util/fs.h>
#include <util/string.h>
#include <chrono>
#include <fstream>
#include <functional>
#include <iostream>
#include <map>
#include <regex>
#include <string>
#include <vector>
Include dependency graph for bench.cpp:

Go to the source code of this file.




std::string benchmark::ListPriorities ()
uint8_t benchmark::StringToPriority (const std::string &str)


const std::function< void(const std::string &)> G_TEST_LOG_FUN {}
 This is connected to the logger. More...
const std::function< std::vector< const char * >)> G_TEST_COMMAND_LINE_ARGUMENTS {}
 Retrieve the command line arguments. More...
const std::function< std::string()> G_TEST_GET_FULL_NAME {}
 Retrieve the unit test name. More...
std::map< std::string, uint8_t > benchmark::map_label_priority

Variable Documentation


const std::function<std::vector<const char*>)> G_TEST_COMMAND_LINE_ARGUMENTS {}

Retrieve the command line arguments.

Definition at line 24 of file bench.cpp.


const std::function<std::string()> G_TEST_GET_FULL_NAME {}

Retrieve the unit test name.

Definition at line 26 of file bench.cpp.


const std::function<void(const std::string&)> G_TEST_LOG_FUN {}

This is connected to the logger.

Can be used to redirect logs to any other log

Definition at line 22 of file bench.cpp.