9#include <dolfinx/common/Table.h>
10#include <dolfinx/common/timing.h>
49 void list_timings(MPI_Comm comm, std::set<TimingType> type,
56 std::tuple<int, double, double, double>
timing(std::string task);
61 std::map<std::string, std::tuple<int, double, double, double>> _timings;
Reduction
Definition Table.h:33
Timer logging.
Definition TimeLogger.h:23
~TimeLogger()=default
Destructor.
TimeLogger()=default
Constructor.
std::tuple< int, double, double, double > timing(std::string task)
Definition TimeLogger.cpp:92
void list_timings(MPI_Comm comm, std::set< TimingType > type, Table::Reduction reduction)
Definition TimeLogger.cpp:42
Table timings(std::set< TimingType > type)
Return a summary of timings and tasks in a Table.
Definition TimeLogger.cpp:55
void register_timing(std::string task, double wall, double user, double system)
Register timing (for later summary)
Definition TimeLogger.cpp:17
Miscellaneous classes, functions and types.
Definition dolfinx_common.h:8