Bitcoin Core 28.99.0
P2P Digital Currency
Classes | Typedefs | Enumerations | Functions | Variables
benchmark Namespace Reference

Classes

struct  Args
 
class  BenchRunner
 

Typedefs

typedef std::function< void(Bench &)> BenchFunction
 

Enumerations

enum  PriorityLevel : uint8_t { LOW = 1 << 0 , HIGH = 1 << 2 }
 

Functions

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

Variables

std::map< std::string, uint8_t > map_label_priority
 

Typedef Documentation

◆ BenchFunction

typedef std::function<void(Bench&)> benchmark::BenchFunction

Definition at line 43 of file bench.h.

Enumeration Type Documentation

◆ PriorityLevel

enum benchmark::PriorityLevel : uint8_t
Enumerator
LOW 
HIGH 

Definition at line 45 of file bench.h.

Function Documentation

◆ ListPriorities()

std::string benchmark::ListPriorities ( )

Definition at line 79 of file bench.cpp.

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

◆ StringToPriority()

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

Definition at line 87 of file bench.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ map_label_priority

std::map<std::string, uint8_t> benchmark::map_label_priority
Initial value:
= {
{"all", 0xff}
}
@ HIGH
Definition: bench.h:48
@ LOW
Definition: bench.h:47

Definition at line 73 of file bench.cpp.