15 #include "../config/config.hpp"
17 #ifndef MFEM_TIMER_TYPE
19 #define MFEM_TIMER_TYPE 0
21 #define MFEM_TIMER_TYPE 3
37 internal::StopWatch *M;
void Stop()
Stop the stopwatch.
double Resolution()
Return the time resolution available to the stopwatch.
void Start()
Clear the elapsed time and start the stopwatch.
void tic()
Start the tic_toc timer.
double toc()
End timing and return the time from tic() to toc() in seconds.
void Clear()
Clear the elapsed time on the stopwatch and restart it if it's running.