19 #include <glog/logging.h> 26 using std::chrono::seconds;
32 size_t callsPerSecond) {
37 seconds currentTime(1342000000);
38 size_t timeCounter = 0;
39 for (
unsigned int n = 0; n < iters; ++n, ++timeCounter) {
40 if (timeCounter >= callsPerSecond) {
77 gflags::ParseCommandLineFlags(&argc, &
argv,
true);
int main(int argc, char *argv[])
#define BENCHMARK_NAMED_PARAM(name, param_name,...)
bool addValue(TimePoint now, const ValueType &val)
void addValue(unsigned int iters, seconds duration, size_t numBuckets, size_t callsPerSecond)