The purpose of the TracingWriter is out output performance data which allows the user to gauge execution time (current, remaining, estimated time of arrival (ETA)) and performance (GLUPS, memory bandwidth).
More...
#include <tracingwriter.h>
Inherits Clonable< Writer< CELL_TYPE >, TracingWriter< CELL_TYPE > >, and Clonable< ParallelWriter< CELL_TYPE >, TracingWriter< CELL_TYPE > >.
List of all members.
Public Types |
typedef boost::posix_time::ptime | Time |
typedef
boost::posix_time::time_duration | Duration |
typedef Writer< CELL_TYPE >
::GridType | WriterGridType |
typedef ParallelWriter
< CELL_TYPE >::GridType | ParallelWriterGridType |
typedef ParallelWriter
< CELL_TYPE >::Topology | Topology |
Public Member Functions |
| TracingWriter (const unsigned period=1, const unsigned maxSteps=1, int outputRank=OUTPUT_ON_ALL_RANKS, std::ostream &stream=std::cerr) |
virtual void | stepFinished (const WriterGridType &grid, unsigned step, WriterEvent event) |
virtual void | stepFinished (const ParallelWriterGridType &grid, const Region< DIM > &validRegion, const Coord< DIM > &globalDimensions, unsigned step, WriterEvent event, std::size_t rank, bool lastCall) |
Static Public Attributes |
static const int | DIM = Topology::DIM |
static const int | OUTPUT_ON_ALL_RANKS = -1 |
Private Member Functions |
void | stepFinished (unsigned step, const Coord< DIM > &globalDimensions, WriterEvent event) |
void | normalStepFinished (unsigned step, const Coord< DIM > &globalDimensions) |
void | printTime () const |
Time | currentTime () const |
Private Attributes |
int | outputRank |
std::ostream & | stream |
Time | startTime |
unsigned | lastStep |
unsigned | maxSteps |
Friends |
class | Serialization |
class | boost::serialization::access |
Detailed Description
template<typename CELL_TYPE>
class LibGeoDecomp::TracingWriter< CELL_TYPE >
The purpose of the TracingWriter is out output performance data which allows the user to gauge execution time (current, remaining, estimated time of arrival (ETA)) and performance (GLUPS, memory bandwidth).
Member Typedef Documentation
template<typename CELL_TYPE>
template<typename CELL_TYPE>
template<typename CELL_TYPE>
template<typename CELL_TYPE>
template<typename CELL_TYPE>
Constructor & Destructor Documentation
template<typename CELL_TYPE>
Member Function Documentation
template<typename CELL_TYPE>
template<typename CELL_TYPE>
template<typename CELL_TYPE>
template<typename CELL_TYPE>
template<typename CELL_TYPE>
template<typename CELL_TYPE>
Friends And Related Function Documentation
template<typename CELL_TYPE>
friend class boost::serialization::access [friend] |
template<typename CELL_TYPE>
friend class Serialization [friend] |
Member Data Documentation
template<typename CELL_TYPE>
template<typename CELL_TYPE>
template<typename CELL_TYPE>
template<typename CELL_TYPE>
template<typename CELL_TYPE>
template<typename CELL_TYPE>
template<typename CELL_TYPE>
The documentation for this class was generated from the following file: