32 std::chrono::duration<
double, std::ratio<1>> wall);
46 std::pair<int, std::chrono::duration<double, std::ratio<1>>>
47 timing(std::string task)
const;
52 std::pair<int, std::chrono::duration<double, std::ratio<1>>>>
71 std::pair<int, std::chrono::duration<double, std::ratio<1>>>>
This class provides storage and pretty-printing for tables.
Definition Table.h:28
Reduction
Definition Table.h:33
Time logger maintaining data collected by Timer, if registered.
Definition TimeLogger.h:24
std::pair< int, std::chrono::duration< double, std::ratio< 1 > > > timing(std::string task) const
Return timing.
Definition TimeLogger.cpp:70
std::map< std::string, std::pair< int, std::chrono::duration< double, std::ratio< 1 > > > > timings() const
Logged elapsed times.
Definition TimeLogger.cpp:85
void list_timings(MPI_Comm comm, Table::Reduction reduction) const
Definition TimeLogger.cpp:41
void register_timing(std::string task, std::chrono::duration< double, std::ratio< 1 > > wall)
Register timing (for later summary)
Definition TimeLogger.cpp:23
Table timing_table() const
Return a summary of timings and tasks in a Table.
Definition TimeLogger.cpp:53
static TimeLogger & instance()
Singleton access.
Definition TimeLogger.cpp:16
Miscellaneous classes, functions and types.
Definition dolfinx_common.h:8