mirror of
https://github.com/dogecoin/dogecoin.git
synced 2026-01-31 10:30:52 +00:00
bench: iwyu cleanup on non-test sources
Cherry-picked from: 462ef2dc Github Pull Request: #3456
This commit is contained in:
parent
3759e0f3d1
commit
9df93da169
@ -3,11 +3,14 @@
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include "bench.h"
|
||||
#include "perf.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
#include <sys/time.h>
|
||||
#include <cstddef> // for NULL
|
||||
#include <sys/time.h> // for gettimeofday, timeval
|
||||
#include <iomanip> // for operator<<, setprecision
|
||||
#include <iostream> // for operator<<, basic_ostream
|
||||
#include <utility> // for pair, make_pair
|
||||
|
||||
#include "perf.h" // for perf_cpucycles, perf_fini, perf_init
|
||||
|
||||
benchmark::BenchRunner::BenchmarkMap &benchmark::BenchRunner::benchmarks() {
|
||||
static std::map<std::string, benchmark::BenchFunction> benchmarks_map;
|
||||
|
||||
@ -5,12 +5,15 @@
|
||||
#ifndef BITCOIN_BENCH_BENCH_H
|
||||
#define BITCOIN_BENCH_BENCH_H
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <cstdint> // for uint64_t
|
||||
|
||||
#include <boost/function.hpp>
|
||||
#include <boost/preprocessor/cat.hpp>
|
||||
#include <boost/preprocessor/stringize.hpp>
|
||||
#include <boost/function.hpp> // for function
|
||||
#include <boost/preprocessor/cat.hpp> // for BOOST_PP_CAT
|
||||
#include <boost/preprocessor/stringize.hpp> // for BOOST_PP_STRINGIZE
|
||||
|
||||
#include <limits> // for numeric_limits
|
||||
#include <map> // for map
|
||||
#include <string> // for string
|
||||
|
||||
// Simple micro-benchmarking framework; API mostly matches a subset of the Google Benchmark
|
||||
// framework (see https://github.com/google/benchmark)
|
||||
|
||||
@ -2,11 +2,9 @@
|
||||
// Distributed under the MIT software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include "bench.h"
|
||||
|
||||
#include "key.h"
|
||||
#include "validation.h"
|
||||
#include "util.h"
|
||||
#include "bench.h" // for BenchRunner
|
||||
#include "key.h" // for ECC_Start, ECC_Stop
|
||||
#include "util.h" // for SetupEnvironment, fPrintToDebugLog
|
||||
|
||||
int
|
||||
main(int argc, char** argv)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user