Drake
Drake C++ Documentation
measure_execution.h File Reference

Detailed Description

A benchmarking helper.

#include <chrono>
#include <utility>
Include dependency graph for measure_execution.h:

Namespaces

 drake
 
 drake::common
 
 drake::common::test
 

Functions

template<typename F , typename... Args>
static double MeasureExecutionTime (F func, Args &&... args)
 Returns the elapsed time of func(args), in seconds. More...