34std::pair<int, std::chrono::duration<double, std::ratio<1>>>
35timing(
const std::string& task);
40 std::pair<int, std::chrono::duration<double, std::ratio<1>>>>
This class provides storage and pretty-printing for tables.
Definition Table.h:29
Reduction
Definition Table.h:34
Top-level namespace.
Definition defines.h:12
void list_timings(MPI_Comm comm, Table::Reduction reduction=Table::Reduction::max)
List a summary of timings and tasks.
Definition timing.cpp:18
Table timing_table()
Return a summary of timings and tasks in a Table.
Definition timing.cpp:13
std::pair< int, std::chrono::duration< double, std::ratio< 1 > > > timing(const std::string &task)
Return timing (count, total wall time) for given task.
Definition timing.cpp:24
std::map< std::string, std::pair< int, std::chrono::duration< double, std::ratio< 1 > > > > timings()
Logged elapsed times.
Definition timing.cpp:31