Bitcoin Core 28.99.0
P2P Digital Currency
Functions
peer_eviction.cpp File Reference
#include <bench/bench.h>
#include <netaddress.h>
#include <node/eviction.h>
#include <random.h>
#include <test/util/net.h>
#include <chrono>
#include <functional>
#include <vector>
Include dependency graph for peer_eviction.cpp:

Go to the source code of this file.

Functions

static void EvictionProtectionCommon (benchmark::Bench &bench, int num_candidates, std::function< void(NodeEvictionCandidate &)> candidate_setup_fn)
 
static void EvictionProtection0Networks250Candidates (benchmark::Bench &bench)
 
static void EvictionProtection1Networks250Candidates (benchmark::Bench &bench)
 
static void EvictionProtection2Networks250Candidates (benchmark::Bench &bench)
 
static void EvictionProtection3Networks050Candidates (benchmark::Bench &bench)
 
static void EvictionProtection3Networks100Candidates (benchmark::Bench &bench)
 
static void EvictionProtection3Networks250Candidates (benchmark::Bench &bench)
 
 BENCHMARK (EvictionProtection0Networks250Candidates, benchmark::PriorityLevel::HIGH)
 
 BENCHMARK (EvictionProtection1Networks250Candidates, benchmark::PriorityLevel::HIGH)
 
 BENCHMARK (EvictionProtection2Networks250Candidates, benchmark::PriorityLevel::HIGH)
 
 BENCHMARK (EvictionProtection3Networks050Candidates, benchmark::PriorityLevel::HIGH)
 
 BENCHMARK (EvictionProtection3Networks100Candidates, benchmark::PriorityLevel::HIGH)
 
 BENCHMARK (EvictionProtection3Networks250Candidates, benchmark::PriorityLevel::HIGH)
 

Function Documentation

◆ BENCHMARK() [1/6]

◆ BENCHMARK() [2/6]

◆ BENCHMARK() [3/6]

◆ BENCHMARK() [4/6]

◆ BENCHMARK() [5/6]

◆ BENCHMARK() [6/6]

◆ EvictionProtection0Networks250Candidates()

static void EvictionProtection0Networks250Candidates ( benchmark::Bench bench)
static

Definition at line 38 of file peer_eviction.cpp.

Here is the call graph for this function:

◆ EvictionProtection1Networks250Candidates()

static void EvictionProtection1Networks250Candidates ( benchmark::Bench bench)
static

Definition at line 49 of file peer_eviction.cpp.

Here is the call graph for this function:

◆ EvictionProtection2Networks250Candidates()

static void EvictionProtection2Networks250Candidates ( benchmark::Bench bench)
static

Definition at line 65 of file peer_eviction.cpp.

Here is the call graph for this function:

◆ EvictionProtection3Networks050Candidates()

static void EvictionProtection3Networks050Candidates ( benchmark::Bench bench)
static

Definition at line 83 of file peer_eviction.cpp.

Here is the call graph for this function:

◆ EvictionProtection3Networks100Candidates()

static void EvictionProtection3Networks100Candidates ( benchmark::Bench bench)
static

Definition at line 101 of file peer_eviction.cpp.

Here is the call graph for this function:

◆ EvictionProtection3Networks250Candidates()

static void EvictionProtection3Networks250Candidates ( benchmark::Bench bench)
static

Definition at line 119 of file peer_eviction.cpp.

Here is the call graph for this function:

◆ EvictionProtectionCommon()

static void EvictionProtectionCommon ( benchmark::Bench bench,
int  num_candidates,
std::function< void(NodeEvictionCandidate &)>  candidate_setup_fn 
)
static

Definition at line 15 of file peer_eviction.cpp.

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