Bitcoin Core  26.99.0
P2P Digital Currency
Functions
readblock.cpp File Reference
#include <bench/bench.h>
#include <bench/data.h>
#include <consensus/validation.h>
#include <node/blockstorage.h>
#include <streams.h>
#include <test/util/setup_common.h>
#include <util/chaintype.h>
#include <validation.h>
Include dependency graph for readblock.cpp:

Go to the source code of this file.

Functions

static FlatFilePos WriteBlockToDisk (ChainstateManager &chainman)
 
static void ReadBlockFromDiskTest (benchmark::Bench &bench)
 
static void ReadRawBlockFromDiskTest (benchmark::Bench &bench)
 
 BENCHMARK (ReadBlockFromDiskTest, benchmark::PriorityLevel::HIGH)
 
 BENCHMARK (ReadRawBlockFromDiskTest, benchmark::PriorityLevel::HIGH)
 

Function Documentation

◆ BENCHMARK() [1/2]

◆ BENCHMARK() [2/2]

◆ ReadBlockFromDiskTest()

static void ReadBlockFromDiskTest ( benchmark::Bench bench)
static

Definition at line 24 of file readblock.cpp.

Here is the call graph for this function:

◆ ReadRawBlockFromDiskTest()

static void ReadRawBlockFromDiskTest ( benchmark::Bench bench)
static

Definition at line 38 of file readblock.cpp.

Here is the call graph for this function:

◆ WriteBlockToDisk()

static FlatFilePos WriteBlockToDisk ( ChainstateManager chainman)
static

Definition at line 15 of file readblock.cpp.

Here is the caller graph for this function: