Chebyshev
Unit testing for scientific software
Loading...
Searching...
No Matches
benchmark.h File Reference

Benchmark module. More...

#include <ctime>
#include <iostream>
#include <thread>
#include <future>
#include <memory>
#include "./core/random.h"
#include "./core/output.h"
#include "./benchmark/timer.h"
#include "./benchmark/generator.h"
#include "./benchmark/benchmark_structures.h"

Go to the source code of this file.

Classes

class  chebyshev::benchmark::benchmark_settings
 Global settings of the benchmark module, used in benchmark_context. More...
 
class  chebyshev::benchmark::benchmark_context
 Benchmark module context, handling benchmark requests concurrently. More...
 

Namespaces

namespace  chebyshev
 General namespace of the framework.
 
namespace  chebyshev::benchmark
 Benchmark module.
 

Functions

template<typename InputType , typename Function >
long double chebyshev::benchmark::runtime (Function func, const std::vector< InputType > &input)
 Measure the total runtime of a function over the given input for a single run.
 
benchmark_context chebyshev::benchmark::make_context (const std::string &moduleName, int argc=0, const char **argv=nullptr)
 Construct a benchmarking context with the given parameters.
 

Detailed Description

Benchmark module.