$treeview $search $mathjax
Palabos  Version 1.1
$projectbrief
$projectbrief
$searchbox

plb::global::Profiler Class Reference

#include <plbProfiler.h>

Collaboration diagram for plb::global::Profiler:

List of all members.

Public Member Functions

void turnOn ()
void turnOff ()
void automaticCycling ()
void manualCycling ()
void cycle ()
bool cyclingIsAutomatic () const
bool doProfiling () const
void start (char const *timer)
void stop (char const *timer)
void increment (char const *counter)
void increment (char const *counter, plint value)
plint getCounter (char const *counter)
double getTimer (char const *timer)
void setReportFile (FileName const &reportFile_)
void writeReport ()

Friends

Profilerprofiler ()

Detailed Description

Counters: ========= "collStreamCells": Number of coll-stream cells. "iterations": Number of iterations. "mpiSendChar": Number of bytes sent by MPI. "mpiReceiveChar": Number of bytes received by MPI.

Timers: ======= "collStream": Time for raw execution of collision-streaming. "cycle": Time for full cycles, including communication + data processors. "dataProcessor": Time for data processor calls. "envelope-update": Time for update of envelopes, including MPI communication. "mpiCommunication": Total Time for MPI communication. "io": Time spent for I/O operations. "totalTime": Total time.


Member Function Documentation

void plb::global::Profiler::automaticCycling (  ) 
void plb::global::Profiler::cycle (  ) 

References increment().

bool plb::global::Profiler::cyclingIsAutomatic (  )  const [inline]
bool plb::global::Profiler::doProfiling (  )  const [inline]

Referenced by increment(), start(), and stop().

plint plb::global::Profiler::getCounter ( char const *  counter  )  [inline]
double plb::global::Profiler::getTimer ( char const *  timer  )  [inline]
void plb::global::Profiler::increment ( char const *  counter,
plint  value 
) [inline]
void plb::global::Profiler::increment ( char const *  counter  )  [inline]
void plb::global::Profiler::manualCycling (  ) 
void plb::global::Profiler::setReportFile ( FileName const &  reportFile_  ) 
void plb::global::Profiler::start ( char const *  timer  )  [inline]
void plb::global::Profiler::stop ( char const *  timer  )  [inline]
void plb::global::Profiler::turnOff (  ) 
void plb::global::Profiler::turnOn (  ) 

References start().

void plb::global::Profiler::writeReport (  ) 

Friends And Related Function Documentation

Profiler& profiler (  )  [friend]

The documentation for this class was generated from the following files: