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

Namespaces

 data
 

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 42 of file bench.h.

Enumeration Type Documentation

◆ PriorityLevel

enum benchmark::PriorityLevel : uint8_t
Enumerator
LOW 
HIGH 

Definition at line 44 of file bench.h.

Function Documentation

◆ ListPriorities()

std::string benchmark::ListPriorities ( )

Definition at line 54 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 62 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:47
@ LOW
Definition: bench.h:46

Definition at line 48 of file bench.cpp.