Bitcoin
Functions | Variables
checkqueue.cpp File Reference
#include <bench/bench.h>
#include <util/system.h>
#include <checkqueue.h>
#include <prevector.h>
#include <vector>
#include <boost/thread/thread.hpp>
#include <random.h>

Functions

static void CCheckQueueSpeedPrevectorJob (benchmark::State &state)
 
 BENCHMARK (CCheckQueueSpeedPrevectorJob, 1400)
 

Variables

static const int MIN_CORES = 2
 
static const size_t BATCHES = 101
 
static const size_t BATCH_SIZE = 30
 
static const int PREVECTOR_SIZE = 28
 
static const unsigned int QUEUE_BATCH_SIZE = 128
 

Function Documentation

◆ BENCHMARK()

BENCHMARK ( CCheckQueueSpeedPrevectorJob  ,
1400   
)

◆ CCheckQueueSpeedPrevectorJob()

static void CCheckQueueSpeedPrevectorJob ( benchmark::State state)
static

Variable Documentation

◆ BATCH_SIZE

const size_t BATCH_SIZE = 30
static

◆ BATCHES

const size_t BATCHES = 101
static

◆ MIN_CORES

const int MIN_CORES = 2
static

◆ PREVECTOR_SIZE

const int PREVECTOR_SIZE = 28
static

◆ QUEUE_BATCH_SIZE

const unsigned int QUEUE_BATCH_SIZE = 128
static