23 #include <dolfin/log/Table.h> 42 enum class TimingType : int32_t { wall = 0, user = 1, system = 2 };
114 std::tuple<std::size_t, double, double, double>
void dump_timings_to_xml(std::string filename, TimingClear clear)
Definition: timing.cpp:63
TimingType
Definition: timing.h:42
double time()
Return wall time elapsed since some implementation dependent epoch.
Definition: timing.cpp:48
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
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
TimingClear
Definition: timing.h:33