BenchmarkListener Class Reference

BenchmarkListener class Simple event/run listener getting memory/proc statistics on callback. More...

Inheritance diagram for BenchmarkListener:
IO::LCEventListener IO::LCRunListener

List of all members.

Public Member Functions

 BenchmarkListener (const BenchmarkListener &)
BenchmarkListeneroperator= (const BenchmarkListener &)
 BenchmarkListener (const std::string &fname)
 Constructor.
 ~BenchmarkListener ()
 Destructor.
void processEvent (EVENT::LCEvent *evt)
 Extract and fill benchmark variables.
void getVariables (EVENT::LCEvent *event)
 Extract benchmark variables.
void write ()
 Write benchmarks to ROOT file.

Detailed Description

BenchmarkListener class Simple event/run listener getting memory/proc statistics on callback.


Constructor & Destructor Documentation

BenchmarkListener::BenchmarkListener ( const std::string &  fname  )  [inline]

Constructor.

Parameters:
fname the ROOT output file with statistics

Member Function Documentation

void BenchmarkListener::getVariables ( EVENT::LCEvent event  )  [inline]

Extract benchmark variables.

Parameters:
event the event to process

Referenced by processEvent().

void BenchmarkListener::processEvent ( EVENT::LCEvent evt  )  [inline, virtual]

Extract and fill benchmark variables.

Parameters:
evt the event to process

Implements IO::LCEventListener.

References getVariables().


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Friends

Generated on 6 Mar 2020 for LCIO by  doxygen 1.6.1