NiHu
2.0
|
class to store fmm timing data More...
#include <fmm_timer.h>
Public Types | |
enum | { M2M = op_tags::tag2idx(op_tags::m2m()), L2L = op_tags::tag2idx(op_tags::l2l()), M2L = op_tags::tag2idx(op_tags::m2l()), P2M = op_tags::tag2idx(op_tags::p2m()), P2L = op_tags::tag2idx(op_tags::p2l()), L2P = op_tags::tag2idx(op_tags::l2p()), M2P = op_tags::tag2idx(op_tags::m2p()), P2P = op_tags::tag2idx(op_tags::p2p()), NUM_TIME_INDICES = op_tags::num_tags() } |
Public Member Functions | |
fmm_timer (size_t nLevel) | |
constructor More... | |
void | reset (void) |
reset timer | |
timer_t::time_point_t | tic (void) |
start timer | |
void | toc (size_t level, int type) |
stop timer at a given level and operation type More... | |
std::ostream & | print (std::ostream &os=std::cout) const |
inserter into output stream More... | |
const std::vector< std::array< long long, NUM_TIME_INDICES > > & | get_times (void) const |
Public Attributes | |
enum NiHu::fmm::fmm_timer:: { ... } | time_index_t |
class to store fmm timing data
Definition at line 22 of file fmm_timer.h.
anonymous enum |
Definition at line 27 of file fmm_timer.h.
|
inline |
constructor
[in] | nLevel | number of levels in the tree |
Definition at line 56 of file fmm_timer.h.
std::ostream & NiHu::fmm::fmm_timer::print | ( | std::ostream & | os = std::cout | ) | const |
inserter into output stream
[in,out] | os | the output stream |
Definition at line 17 of file fmm_timer.cpp.
|
inline |
stop timer at a given level and operation type
[in] | level | the level in the tree |
[in] | type | the operation type that was timed |
Definition at line 79 of file fmm_timer.h.