mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-13 14:14:00 +01:00
benchmark: Removed bench/perf.cpp
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <bench/bench.h>
|
||||
#include <bench/perf.h>
|
||||
|
||||
#include <assert.h>
|
||||
#include <iostream>
|
||||
@@ -96,7 +95,6 @@ benchmark::BenchRunner::BenchRunner(std::string name, benchmark::BenchFunction f
|
||||
|
||||
void benchmark::BenchRunner::RunAll(Printer& printer, uint64_t num_evals, double scaling, const std::string& filter, bool is_list_only)
|
||||
{
|
||||
perf_init();
|
||||
if (!std::ratio_less_equal<benchmark::clock::period, std::micro>::value) {
|
||||
std::cerr << "WARNING: Clock precision is worse than microsecond - benchmarks may be less accurate!\n";
|
||||
}
|
||||
@@ -126,8 +124,6 @@ void benchmark::BenchRunner::RunAll(Printer& printer, uint64_t num_evals, double
|
||||
}
|
||||
|
||||
printer.footer();
|
||||
|
||||
perf_fini();
|
||||
}
|
||||
|
||||
bool benchmark::State::UpdateTimer(const benchmark::time_point current_time)
|
||||
|
||||
Reference in New Issue
Block a user