UWARG Computer Vision
benchmark.h
Go to the documentation of this file.
1 
16 #ifndef BENCHMARK_H_INCLUDED
17 #define BENCHMARK_H_INCLUDED
18 
19 #include <string>
20 
26 void benchmark_function(std::string name, std::function<void ()> func, int iter = 100);
27 
28 #endif // BENCHMARK_H_INCLUDED
void benchmark_function(std::string name, std::function< void()> func, int iter=100)
Does a benchmark of the given function and outputs the results to BOOST_TEST_MESSAGE.