Changeset View
Changeset View
Standalone View
Standalone View
src/bench/checkqueue.cpp
// Copyright (c) 2015 The Bitcoin Core developers | // Copyright (c) 2015 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#include <bench/bench.h> | #include <bench/bench.h> | ||||
#include <checkqueue.h> | #include <checkqueue.h> | ||||
#include <prevector.h> | #include <prevector.h> | ||||
#include <random.h> | #include <random.h> | ||||
#include <util.h> | #include <util/system.h> | ||||
#include <validation.h> | #include <validation.h> | ||||
#include <boost/thread/thread.hpp> | #include <boost/thread/thread.hpp> | ||||
#include <vector> | #include <vector> | ||||
static const int MIN_CORES = 2; | static const int MIN_CORES = 2; | ||||
static const size_t BATCHES = 101; | static const size_t BATCHES = 101; | ||||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |