Drake
measure_execution.h File Reference

A benchmarking helper. More...

#include <chrono>
#include <utility>
Include dependency graph for measure_execution.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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...
 

Detailed Description

A benchmarking helper.