![]() |
Bitcoin Core
22.0.0
P2P Digital Currency
|
#include <addrman.h>#include <bench/bench.h>#include <random.h>#include <util/time.h>#include <optional>#include <vector>Go to the source code of this file.
Functions | |
| static void | CreateAddresses () |
| static void | AddAddressesToAddrMan (CAddrMan &addrman) |
| static void | FillAddrMan (CAddrMan &addrman) |
| static void | AddrManAdd (benchmark::Bench &bench) |
| static void | AddrManSelect (benchmark::Bench &bench) |
| static void | AddrManGetAddr (benchmark::Bench &bench) |
| static void | AddrManGood (benchmark::Bench &bench) |
| BENCHMARK (AddrManAdd) | |
| BENCHMARK (AddrManSelect) | |
| BENCHMARK (AddrManGetAddr) | |
| BENCHMARK (AddrManGood) | |
Variables | |
| static constexpr size_t | NUM_SOURCES = 64 |
| static constexpr size_t | NUM_ADDRESSES_PER_SOURCE = 256 |
| static std::vector< CAddress > | g_sources |
| static std::vector< std::vector< CAddress > > | g_addresses |
|
static |
Definition at line 55 of file addrman.cpp.
|
static |
|
static |
|
static |
|
static |
| BENCHMARK | ( | AddrManAdd | ) |
| BENCHMARK | ( | AddrManSelect | ) |
| BENCHMARK | ( | AddrManGetAddr | ) |
| BENCHMARK | ( | AddrManGood | ) |
|
static |
Definition at line 21 of file addrman.cpp.
|
static |
Definition at line 62 of file addrman.cpp.
|
static |
Definition at line 19 of file addrman.cpp.
|
static |
Definition at line 18 of file addrman.cpp.
|
static |
Definition at line 16 of file addrman.cpp.
|
static |
Definition at line 15 of file addrman.cpp.
1.8.14