Statistics for spatial location. More...
#include <SpatialLocatorTimes.hpp>
Public Types | |
enum | { INTMED_INIT = 0 , INTMED_SEND , INTMED_SEARCH , SRC_SEND , SRC_SEARCH , TARG_RETURN , TARG_STORE , NUM_STATS } |
Public Member Functions | |
SpatialLocatorTimes () | |
void | reset () |
void | output_header (bool print_endl=false) const |
void | output (bool print_head=false, bool print_endl=false) const |
Public Attributes | |
double | slTimes [NUM_STATS] |
Statistics for spatial location.
Class to accumulate statistics on performance of spatial location. This structure stores only local (single proc) statistics, but provides functions for accumulating max/min/avg time properties for performance reporting.
Similar to TreeStats, this class is very lightweight, with most variables publicly accessible.
Definition at line 26 of file SpatialLocatorTimes.hpp.
anonymous enum |
Enumerator | |
---|---|
INTMED_INIT | |
INTMED_SEND | |
INTMED_SEARCH | |
SRC_SEND | |
SRC_SEARCH | |
TARG_RETURN | |
TARG_STORE | |
NUM_STATS |
Definition at line 67 of file SpatialLocatorTimes.hpp.
|
inline |
|
inline |
Definition at line 139 of file SpatialLocatorTimes.hpp.
References NUM_STATS, output_header(), and slTimes.
|
inline |
Definition at line 131 of file SpatialLocatorTimes.hpp.
Referenced by output().
|
inline |
Definition at line 82 of file SpatialLocatorTimes.hpp.
References NUM_STATS, and slTimes.
Referenced by SpatialLocatorTimes().
double moab::SpatialLocatorTimes::slTimes[NUM_STATS] |
Definition at line 79 of file SpatialLocatorTimes.hpp.
Referenced by moab::SpatialLocator::locate_points(), output(), and reset().