Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
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 47 of file peer_eviction.cpp.

Here is the call graph for this function:

◆ EvictionProtection2Networks250Candidates()

static void EvictionProtection2Networks250Candidates ( benchmark::Bench bench)
static

Definition at line 61 of file peer_eviction.cpp.

Here is the call graph for this function:

◆ EvictionProtection3Networks050Candidates()

static void EvictionProtection3Networks050Candidates ( benchmark::Bench bench)
static

Definition at line 78 of file peer_eviction.cpp.

Here is the call graph for this function:

◆ EvictionProtection3Networks100Candidates()

static void EvictionProtection3Networks100Candidates ( benchmark::Bench bench)
static

Definition at line 96 of file peer_eviction.cpp.

Here is the call graph for this function:

◆ EvictionProtection3Networks250Candidates()

static void EvictionProtection3Networks250Candidates ( benchmark::Bench bench)
static

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

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