|
FlexBox - A Flexible Primal-Dual ToolBox
|
class for timing execution times More...
#include <tools.h>
Public Member Functions | |
| void | reset () |
| resets or starts the timer | |
| void | end () |
| ends the timer | |
| double | elapsed () const |
| returns the duration More... | |
class for timing execution times
Timer is a class for measuring execution times of the primal dual algorithm. It uses std::chrono and additionally cudaDeviceSynchronize() if the CUDA version of FlexBox has been compiled.
|
inline |
1.8.13