23#include <dolfin/log/Table.h>
42 enum class TimingType :
int { wall = 0, user = 1, system = 2 };
114 std::tuple<std::size_t, double, double, double>
std::tuple< std::size_t, double, double, double > timing(std::string task, TimingClear clear)
Definition timing.cpp:69
double toc()
Return elapsed wall time (should not be used internally in DOLFIN!)
Definition timing.cpp:43
void list_timings(TimingClear clear, std::set< TimingType > type)
Definition timing.cpp:58
double time()
Return wall time elapsed since some implementation dependent epoch.
Definition timing.cpp:48
TimingClear
Definition timing.h:33
void dump_timings_to_xml(std::string filename, TimingClear clear)
Definition timing.cpp:63
TimingType
Definition timing.h:42
Table timings(TimingClear clear, std::set< TimingType > type)
Definition timing.cpp:53
void tic()
Start timing (should not be used internally in DOLFIN!)
Definition timing.cpp:38