lab_btree
Belligerent BTrees
Benchmark Class Reference

Class which contains a collection of benchmark results. More...

#include <benchmark.h>

Collaboration diagram for Benchmark:
[legend]

Classes

struct  BenchmarkResult
 Contains the actual results / benchmark parameter, uses std::chrono. More...
 

Public Member Functions

 Benchmark (const std::string &name)
 
size_t add_point (unsigned int n)
 
void start (size_t idx)
 
void end (size_t idx)
 
void write_to_file (std::string out_dir="results")
 

Private Attributes

std::vector< BenchmarkResultresults
 
std::string name
 

Detailed Description

Class which contains a collection of benchmark results.


The documentation for this class was generated from the following file: