Bitcoin Core  22.99.0
P2P Digital Currency
Functions
peer_eviction.cpp File Reference
#include <bench/bench.h>
#include <net.h>
#include <netaddress.h>
#include <random.h>
#include <test/util/net.h>
#include <test/util/setup_common.h>
#include <algorithm>
#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 (EvictionProtection1Networks250Candidates)
 
 BENCHMARK (EvictionProtection2Networks250Candidates)
 
 BENCHMARK (EvictionProtection3Networks050Candidates)
 
 BENCHMARK (EvictionProtection3Networks100Candidates)
 
 BENCHMARK (EvictionProtection3Networks250Candidates)
 

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 39 of file peer_eviction.cpp.

Here is the call graph for this function:

◆ EvictionProtection1Networks250Candidates()

static void EvictionProtection1Networks250Candidates ( benchmark::Bench bench)
static

Definition at line 50 of file peer_eviction.cpp.

Here is the call graph for this function:

◆ EvictionProtection2Networks250Candidates()

static void EvictionProtection2Networks250Candidates ( benchmark::Bench bench)
static

Definition at line 66 of file peer_eviction.cpp.

Here is the call graph for this function:

◆ EvictionProtection3Networks050Candidates()

static void EvictionProtection3Networks050Candidates ( benchmark::Bench bench)
static

Definition at line 84 of file peer_eviction.cpp.

Here is the call graph for this function:

◆ EvictionProtection3Networks100Candidates()

static void EvictionProtection3Networks100Candidates ( benchmark::Bench bench)
static

Definition at line 102 of file peer_eviction.cpp.

Here is the call graph for this function:

◆ EvictionProtection3Networks250Candidates()

static void EvictionProtection3Networks250Candidates ( benchmark::Bench bench)
static

Definition at line 120 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 16 of file peer_eviction.cpp.

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