SFrame 3.6
SCycleStatistics Class Reference

Special object to collect information from the workers with. More...

#include <core/include/SCycleStatistics.h>

Collaboration diagram for SCycleStatistics:

List of all members.

Public Member Functions

 SCycleStatistics (const char *name="", Long64_t procEvents=0, Long64_t skipEvents=0)
 Constructor with all current parameters.
Long64_t GetProcessedEvents () const
 Get the number of processed events.
void SetProcessedEvents (Long64_t events)
 Set the number of processed events.
Long64_t GetSkippedEvents () const
 Get the number of skipped events.
void SetSkippedEvents (Long64_t events)
 Set the number of skipped events.
Int_t Merge (TCollection *coll)
 Function merging the information from the worker nodes.
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const
 Write the object in the current output directory (const version)
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0)
 Write the object in the current output directory (non-const version)

Detailed Description

Special object to collect information from the workers with.

I'm a bit disappointed in PROOF at this point... :-/ I tried getting some basic information out of it, like how many events were processed, but couldn't do it. (I could get other, non interesting info however.) So I decided to collect this information by hand.

This class is used by the framework internally to send statistics information from the workers to the master node.

Version:
Revision:
191

Definition at line 39 of file SCycleStatistics.h.


Constructor & Destructor Documentation

SCycleStatistics::SCycleStatistics ( const char *  name = "",
Long64_t  procEvents = 0,
Long64_t  skipEvents = 0 
)

Constructor with all current parameters.

Definition at line 24 of file SCycleStatistics.cxx.


Member Function Documentation

Long64_t SCycleStatistics::GetProcessedEvents ( ) const

Get the number of processed events.

Definition at line 32 of file SCycleStatistics.cxx.

Referenced by SCycleController::ExecuteNextCycle().

Long64_t SCycleStatistics::GetSkippedEvents ( ) const

Get the number of skipped events.

Definition at line 45 of file SCycleStatistics.cxx.

Referenced by SCycleController::ExecuteNextCycle().

Int_t SCycleStatistics::Merge ( TCollection *  coll)

Function merging the information from the worker nodes.

The merging is done in a *very* simple manner, just adding the member variables.

Definition at line 61 of file SCycleStatistics.cxx.

References DEBUG, SLogger::endmsg(), ERROR, and VERBOSE.

Referenced by Write().

void SCycleStatistics::SetProcessedEvents ( Long64_t  events)

Set the number of processed events.

Definition at line 38 of file SCycleStatistics.cxx.

void SCycleStatistics::SetSkippedEvents ( Long64_t  events)

Set the number of skipped events.

Definition at line 51 of file SCycleStatistics.cxx.

Int_t SCycleStatistics::Write ( const char *  name = 0,
Int_t  option = 0,
Int_t  bufsize = 0 
) [virtual]

Write the object in the current output directory (non-const version)

Definition at line 135 of file SCycleStatistics.cxx.

References Write().

Int_t SCycleStatistics::Write ( const char *  name = 0,
Int_t  option = 0,
Int_t  bufsize = 0 
) const [virtual]

Write the object in the current output directory (const version)

Definition at line 107 of file SCycleStatistics.cxx.

References DEBUG, SLogger::endmsg(), Merge(), and WARNING.

Referenced by Write().


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