43#ifndef ETISS_BENCHMARK_H
44#define ETISS_BENCHMARK_H
62double averageTime(
const std::list<std::pair<double, double>> &vals);
60namespace benchmark {
…}
65template <
typename clock_ = Default_Clock>
76 throw "benchmark not stopped before calling start";
81 void stop(
size_t interval_count = 1)
85 throw "benchmark not started before calling start";
81 void stop(
size_t interval_count = 1) {
…}
101 std::pair<double, double>
cur;
general configuration and logging
void stop(size_t interval_count=1)
Benchmark(const std::string &name)
std::list< std::pair< double, double > > interval_ns
std::pair< double, double > cur
std::string toString() const
Marker interface for toString() support.
double averageTime(const std::list< std::pair< double, double > > &vals)
Page Table Entry (PTE) defines the composition of Page Frame Number (PFN) and relavant flags.