8#ifndef COLUMNAR_TEST_FIXTURES_BENCHMARK_H
9#define COLUMNAR_TEST_FIXTURES_BENCHMARK_H
56 Benchmark (
const std::string& val_name =
"",
unsigned val_batchSize = 1)
88 m_start = std::chrono::high_resolution_clock::now();
105 std::chrono::time_point<std::chrono::high_resolution_clock>
m_start;
108 std::chrono::high_resolution_clock::duration
m_ticks {};
auto getTotalTime() const
std::chrono::time_point< std::chrono::high_resolution_clock > m_start
std::uint64_t m_count
the number of times the timer has been started
std::chrono::high_resolution_clock::duration m_ticks
accumulated time m_ticks
unsigned m_batchSize
the number of calls per batch
std::optional< float > getEntryTime(float emptyTime) const
Benchmark(const std::string &val_name="", unsigned val_batchSize=1)
bool m_silence
whether to suppress output