![]() |
Bitcoin Core 31.0.0
P2P Digital Currency
|
#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>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) | |
| BENCHMARK | ( | EvictionProtection0Networks250Candidates | ) |
| BENCHMARK | ( | EvictionProtection1Networks250Candidates | ) |
| BENCHMARK | ( | EvictionProtection2Networks250Candidates | ) |
| BENCHMARK | ( | EvictionProtection3Networks050Candidates | ) |
| BENCHMARK | ( | EvictionProtection3Networks100Candidates | ) |
| BENCHMARK | ( | EvictionProtection3Networks250Candidates | ) |
|
static |
Definition at line 38 of file peer_eviction.cpp.
|
static |
Definition at line 49 of file peer_eviction.cpp.
|
static |
Definition at line 65 of file peer_eviction.cpp.
|
static |
Definition at line 83 of file peer_eviction.cpp.
|
static |
Definition at line 101 of file peer_eviction.cpp.
|
static |
Definition at line 119 of file peer_eviction.cpp.
|
static |
Definition at line 15 of file peer_eviction.cpp.