TProofProgressStatus Class Reference

#include <TProofProgressStatus.h>

Inheritance diagram for TProofProgressStatus:

TObject TObject List of all members.

Public Member Functions

 TProofProgressStatus (Long64_t fEntries=0, Long64_t fBytesRead=0, Long64_t fReadCalls=0, Double_t fProcTime=0, Double_t fCPUTime=0)
void Reset ()
Long64_t GetEntries () const
Long64_t GetBytesRead () const
Long64_t GetReadCalls () const
Double_t GetLearnTime () const
Double_t GetProcTime () const
Double_t GetCPUTime () const
Double_t GetLastUpdate () const
Double_t GetRate () const
Double_t GetCurrentRate () const
void SetLastEntries (Long64_t entries)
void SetEntries (Long64_t entries)
void IncEntries (Long64_t entries=1)
void IncBytesRead (Long64_t bytesRead)
void SetBytesRead (Long64_t bytesRead)
void IncReadCalls (Long64_t readCalls)
void SetReadCalls (Long64_t readCalls)
void SetLearnTime (Double_t learnTime)
void SetLastProcTime (Double_t procTime)
void SetProcTime (Double_t procTime)
void IncProcTime (Double_t procTime)
void SetCPUTime (Double_t procTime)
void IncCPUTime (Double_t procTime)
void SetLastUpdate (Double_t updtTime=0)
void Print (Option_t *option="") const
TProofProgressStatus operator- (TProofProgressStatus &st)
TProofProgressStatusoperator+= (const TProofProgressStatus &st)
TProofProgressStatusoperator-= (const TProofProgressStatus &st)
 TProofProgressStatus (Long64_t fEntries=0, Long64_t fBytesRead=0, Long64_t fReadCalls=0, Double_t fProcTime=0, Double_t fCPUTime=0)
void Reset ()
Long64_t GetEntries () const
Long64_t GetBytesRead () const
Long64_t GetReadCalls () const
Double_t GetLearnTime () const
Double_t GetProcTime () const
Double_t GetCPUTime () const
Double_t GetLastUpdate () const
Double_t GetRate () const
Double_t GetCurrentRate () const
void SetLastEntries (Long64_t entries)
void SetEntries (Long64_t entries)
void IncEntries (Long64_t entries=1)
void IncBytesRead (Long64_t bytesRead)
void SetBytesRead (Long64_t bytesRead)
void IncReadCalls (Long64_t readCalls)
void SetReadCalls (Long64_t readCalls)
void SetLearnTime (Double_t learnTime)
void SetLastProcTime (Double_t procTime)
void SetProcTime (Double_t procTime)
void IncProcTime (Double_t procTime)
void SetCPUTime (Double_t procTime)
void IncCPUTime (Double_t procTime)
void SetLastUpdate (Double_t updtTime=0)
void Print (Option_t *option="") const
TProofProgressStatus operator- (TProofProgressStatus &st)
TProofProgressStatusoperator+= (const TProofProgressStatus &st)
TProofProgressStatusoperator-= (const TProofProgressStatus &st)

Private Attributes

Long64_t fLastEntries
Long64_t fEntries
Long64_t fBytesRead
Long64_t fReadCalls
Double_t fLearnTime
Double_t fLastProcTime
Double_t fProcTime
Double_t fCPUTime
Double_t fLastUpdate

Detailed Description

Definition at line 27 of file TProofProgressStatus.h.


Constructor & Destructor Documentation

TProofProgressStatus::TProofProgressStatus ( Long64_t  fEntries = 0,
Long64_t  fBytesRead = 0,
Long64_t  fReadCalls = 0,
Double_t  fProcTime = 0,
Double_t  fCPUTime = 0 
)

Referenced by operator-().

TProofProgressStatus::TProofProgressStatus ( Long64_t  fEntries = 0,
Long64_t  fBytesRead = 0,
Long64_t  fReadCalls = 0,
Double_t  fProcTime = 0,
Double_t  fCPUTime = 0 
)


Member Function Documentation

void TProofProgressStatus::Reset ( void   )  [inline]

Definition at line 42 of file TProofProgressStatus.h.

References fBytesRead, fCPUTime, fEntries, fProcTime, and SetLastUpdate().

Referenced by TProofPlayerRemote::Process(), TProofPlayerLite::Process(), and TProofPlayer::Process().

Long64_t TProofProgressStatus::GetEntries (  )  const [inline]

Definition at line 45 of file TProofProgressStatus.h.

References fEntries.

Referenced by TPacketizerUnit::TSlaveStat::AddProcessed(), TPacketizerAdaptive::TSlaveStat::AddProcessed(), TPacketizerFile::TSlaveStat::AddProcessed(), TPacketizer::TSlaveStat::AddProcessed(), TPacketizerAdaptive::AddProcessed(), TVirtualPacketizer::TVirtualSlaveStat::GetEntriesProcessed(), TPacketizerAdaptive::TSlaveStat::GetEntriesProcessed(), TVirtualPacketizer::GetEntriesProcessed(), TPacketizerAdaptive::GetEstEntriesProcessed(), TProofPlayer::GetEventsProcessed(), TPacketizerMulti::GetNextPacket(), TPacketizer::GetNextPacket(), TPacketizerUnit::GetNextPacket(), TProofServ::GetNextPacket(), TPacketizerAdaptive::GetNextPacket(), TPacketizerFile::GetNextPacket(), TProofServ::HandleProcess(), TProofPlayer::Process(), and TPacketizerAdaptive::TSlaveStat::UpdateRates().

Long64_t TProofProgressStatus::GetBytesRead (  )  const [inline]

Definition at line 46 of file TProofProgressStatus.h.

References fBytesRead.

Referenced by TPacketizerAdaptive::AddProcessed(), TVirtualPacketizer::GetBytesRead(), TPacketizerAdaptive::GetEstEntriesProcessed(), TPacketizer::GetNextPacket(), TPacketizerUnit::GetNextPacket(), TPacketizerFile::GetNextPacket(), and TProofServ::HandleProcess().

Long64_t TProofProgressStatus::GetReadCalls (  )  const [inline]

Definition at line 47 of file TProofProgressStatus.h.

References fReadCalls.

Referenced by TVirtualPacketizer::GetReadCalls().

Double_t TProofProgressStatus::GetLearnTime (  )  const [inline]

Definition at line 48 of file TProofProgressStatus.h.

References fLearnTime.

Double_t TProofProgressStatus::GetProcTime (  )  const [inline]

Definition at line 49 of file TProofProgressStatus.h.

References fProcTime.

Referenced by TPacketizerAdaptive::AddProcessed(), TVirtualPacketizer::GetCumProcTime(), TPacketizer::GetNextPacket(), TPacketizerUnit::GetNextPacket(), TPacketizerFile::GetNextPacket(), TPacketizerAdaptive::TSlaveStat::GetProcTime(), TVirtualPacketizer::TVirtualSlaveStat::GetProcTime(), and TPacketizerAdaptive::TSlaveStat::UpdateRates().

Double_t TProofProgressStatus::GetCPUTime (  )  const [inline]

Definition at line 50 of file TProofProgressStatus.h.

References fCPUTime.

Referenced by TPacketizerAdaptive::AddProcessed(), TPacketizer::GetNextPacket(), TPacketizerUnit::GetNextPacket(), and TPacketizerFile::GetNextPacket().

Double_t TProofProgressStatus::GetLastUpdate (  )  const [inline]

Definition at line 51 of file TProofProgressStatus.h.

References fLastUpdate.

Referenced by TPacketizerAdaptive::GetEstEntriesProcessed().

Double_t TProofProgressStatus::GetRate (  )  const [inline]

Definition at line 52 of file TProofProgressStatus.h.

References fEntries, and fProcTime.

Referenced by TVirtualPacketizer::TVirtualSlaveStat::GetAvgRate(), TPacketizerAdaptive::TSlaveStat::GetAvgRate(), and GetCurrentRate().

Double_t TProofProgressStatus::GetCurrentRate (  )  const

Definition at line 116 of file TProofProgressStatus.cxx.

References fLastEntries, fLastProcTime, and GetRate().

Referenced by TVirtualPacketizer::GetCurrentRate(), TPacketizer::GetCurrentRate(), TPacketizerFile::GetCurrentRate(), TPacketizerUnit::GetCurrentRate(), and TPacketizerAdaptive::GetCurrentRate().

void TProofProgressStatus::SetLastEntries ( Long64_t  entries  )  [inline]

Definition at line 54 of file TProofProgressStatus.h.

References fLastEntries.

Referenced by TPacketizerUnit::TSlaveStat::AddProcessed(), TPacketizer::TSlaveStat::AddProcessed(), TPacketizerFile::TSlaveStat::AddProcessed(), and TPacketizerAdaptive::TSlaveStat::UpdateRates().

void TProofProgressStatus::SetEntries ( Long64_t  entries  )  [inline]

Definition at line 55 of file TProofProgressStatus.h.

References fEntries, and SetLastUpdate().

void TProofProgressStatus::IncEntries ( Long64_t  entries = 1  )  [inline]

Definition at line 56 of file TProofProgressStatus.h.

References entries, fEntries, fLastEntries, and SetLastUpdate().

Referenced by TProofPlayer::AddEventsProcessed(), TPacketizer::GetNextPacket(), TPacketizerUnit::GetNextPacket(), TPacketizerFile::GetNextPacket(), and TProofPlayer::Process().

void TProofProgressStatus::IncBytesRead ( Long64_t  bytesRead  )  [inline]

Definition at line 57 of file TProofProgressStatus.h.

References fBytesRead, and SetLastUpdate().

Referenced by TPacketizer::GetNextPacket().

void TProofProgressStatus::SetBytesRead ( Long64_t  bytesRead  )  [inline]

Definition at line 58 of file TProofProgressStatus.h.

References fBytesRead, and SetLastUpdate().

Referenced by TProofPlayer::Process().

void TProofProgressStatus::IncReadCalls ( Long64_t  readCalls  )  [inline]

Definition at line 59 of file TProofProgressStatus.h.

References fReadCalls, and SetLastUpdate().

void TProofProgressStatus::SetReadCalls ( Long64_t  readCalls  )  [inline]

Definition at line 60 of file TProofProgressStatus.h.

References fReadCalls, and SetLastUpdate().

Referenced by TProofPlayer::Process().

void TProofProgressStatus::SetLearnTime ( Double_t  learnTime  )  [inline]

Definition at line 61 of file TProofProgressStatus.h.

References fLearnTime.

Referenced by TProofServ::RestartComputeTime().

void TProofProgressStatus::SetLastProcTime ( Double_t  procTime  )  [inline]

Definition at line 62 of file TProofProgressStatus.h.

References fLastProcTime.

Referenced by TPacketizerUnit::TSlaveStat::AddProcessed(), TPacketizer::TSlaveStat::AddProcessed(), and TPacketizerFile::TSlaveStat::AddProcessed().

void TProofProgressStatus::SetProcTime ( Double_t  procTime  )  [inline]

Definition at line 63 of file TProofProgressStatus.h.

References fProcTime.

void TProofProgressStatus::IncProcTime ( Double_t  procTime  )  [inline]

Definition at line 64 of file TProofProgressStatus.h.

References fLastProcTime, and fProcTime.

Referenced by TProofServ::GetNextPacket().

void TProofProgressStatus::SetCPUTime ( Double_t  procTime  )  [inline]

Definition at line 65 of file TProofProgressStatus.h.

References fCPUTime.

void TProofProgressStatus::IncCPUTime ( Double_t  procTime  )  [inline]

Definition at line 66 of file TProofProgressStatus.h.

References fCPUTime.

Referenced by TProofServ::GetNextPacket().

void TProofProgressStatus::SetLastUpdate ( Double_t  updtTime = 0  ) 

Definition at line 102 of file TProofProgressStatus.cxx.

References fLastUpdate, gSystem, Long64_t, and TSystem::Now().

Referenced by IncBytesRead(), IncEntries(), IncReadCalls(), operator+=(), operator-=(), Reset(), SetBytesRead(), SetEntries(), and SetReadCalls().

void TProofProgressStatus::Print ( Option_t option = ""  )  const [virtual]

Reimplemented from TObject.

Definition at line 91 of file TProofProgressStatus.cxx.

References fBytesRead, fCPUTime, fEntries, fLastEntries, fLastProcTime, fLearnTime, fProcTime, fReadCalls, and Printf().

Referenced by TProofServ::GetNextPacket().

TProofProgressStatus TProofProgressStatus::operator- ( TProofProgressStatus st  ) 

Definition at line 83 of file TProofProgressStatus.cxx.

References TProofProgressStatus().

TProofProgressStatus & TProofProgressStatus::operator+= ( const TProofProgressStatus st  ) 

Definition at line 49 of file TProofProgressStatus.cxx.

References fBytesRead, fCPUTime, fEntries, fLastEntries, fLastProcTime, fLearnTime, fProcTime, fReadCalls, and SetLastUpdate().

TProofProgressStatus & TProofProgressStatus::operator-= ( const TProofProgressStatus st  ) 

Definition at line 67 of file TProofProgressStatus.cxx.

References fBytesRead, fCPUTime, fEntries, fLearnTime, fProcTime, fReadCalls, and SetLastUpdate().

void TProofProgressStatus::Reset ( void   )  [inline]

Definition at line 42 of file TProofProgressStatus.h.

References fBytesRead, fCPUTime, fEntries, fProcTime, and SetLastUpdate().

Long64_t TProofProgressStatus::GetEntries (  )  const [inline]

Definition at line 45 of file TProofProgressStatus.h.

References fEntries.

Long64_t TProofProgressStatus::GetBytesRead (  )  const [inline]

Definition at line 46 of file TProofProgressStatus.h.

References fBytesRead.

Long64_t TProofProgressStatus::GetReadCalls (  )  const [inline]

Definition at line 47 of file TProofProgressStatus.h.

References fReadCalls.

Double_t TProofProgressStatus::GetLearnTime (  )  const [inline]

Definition at line 48 of file TProofProgressStatus.h.

References fLearnTime.

Double_t TProofProgressStatus::GetProcTime (  )  const [inline]

Definition at line 49 of file TProofProgressStatus.h.

References fProcTime.

Double_t TProofProgressStatus::GetCPUTime (  )  const [inline]

Definition at line 50 of file TProofProgressStatus.h.

References fCPUTime.

Double_t TProofProgressStatus::GetLastUpdate (  )  const [inline]

Definition at line 51 of file TProofProgressStatus.h.

References fLastUpdate.

Double_t TProofProgressStatus::GetRate (  )  const [inline]

Definition at line 52 of file TProofProgressStatus.h.

References fEntries, and fProcTime.

Double_t TProofProgressStatus::GetCurrentRate (  )  const

void TProofProgressStatus::SetLastEntries ( Long64_t  entries  )  [inline]

Definition at line 54 of file TProofProgressStatus.h.

References fLastEntries.

void TProofProgressStatus::SetEntries ( Long64_t  entries  )  [inline]

Definition at line 55 of file TProofProgressStatus.h.

References fEntries, and SetLastUpdate().

void TProofProgressStatus::IncEntries ( Long64_t  entries = 1  )  [inline]

Definition at line 56 of file TProofProgressStatus.h.

References entries, fEntries, fLastEntries, and SetLastUpdate().

void TProofProgressStatus::IncBytesRead ( Long64_t  bytesRead  )  [inline]

Definition at line 57 of file TProofProgressStatus.h.

References fBytesRead, and SetLastUpdate().

void TProofProgressStatus::SetBytesRead ( Long64_t  bytesRead  )  [inline]

Definition at line 58 of file TProofProgressStatus.h.

References fBytesRead, and SetLastUpdate().

void TProofProgressStatus::IncReadCalls ( Long64_t  readCalls  )  [inline]

Definition at line 59 of file TProofProgressStatus.h.

References fReadCalls, and SetLastUpdate().

void TProofProgressStatus::SetReadCalls ( Long64_t  readCalls  )  [inline]

Definition at line 60 of file TProofProgressStatus.h.

References fReadCalls, and SetLastUpdate().

void TProofProgressStatus::SetLearnTime ( Double_t  learnTime  )  [inline]

Definition at line 61 of file TProofProgressStatus.h.

References fLearnTime.

void TProofProgressStatus::SetLastProcTime ( Double_t  procTime  )  [inline]

Definition at line 62 of file TProofProgressStatus.h.

References fLastProcTime.

void TProofProgressStatus::SetProcTime ( Double_t  procTime  )  [inline]

Definition at line 63 of file TProofProgressStatus.h.

References fProcTime.

void TProofProgressStatus::IncProcTime ( Double_t  procTime  )  [inline]

Definition at line 64 of file TProofProgressStatus.h.

References fLastProcTime, and fProcTime.

void TProofProgressStatus::SetCPUTime ( Double_t  procTime  )  [inline]

Definition at line 65 of file TProofProgressStatus.h.

References fCPUTime.

void TProofProgressStatus::IncCPUTime ( Double_t  procTime  )  [inline]

Definition at line 66 of file TProofProgressStatus.h.

References fCPUTime.

void TProofProgressStatus::SetLastUpdate ( Double_t  updtTime = 0  ) 

void TProofProgressStatus::Print ( Option_t option = ""  )  const [virtual]

Reimplemented from TObject.

TProofProgressStatus TProofProgressStatus::operator- ( TProofProgressStatus st  ) 

TProofProgressStatus& TProofProgressStatus::operator+= ( const TProofProgressStatus st  ) 

TProofProgressStatus& TProofProgressStatus::operator-= ( const TProofProgressStatus st  ) 


Member Data Documentation

Long64_t TProofProgressStatus::fLastEntries [private]

Definition at line 29 of file TProofProgressStatus.h.

Referenced by GetCurrentRate(), IncEntries(), operator+=(), Print(), and SetLastEntries().

Long64_t TProofProgressStatus::fEntries [private]

Definition at line 30 of file TProofProgressStatus.h.

Referenced by GetEntries(), GetRate(), IncEntries(), operator+=(), operator-=(), Print(), Reset(), and SetEntries().

Long64_t TProofProgressStatus::fBytesRead [private]

Definition at line 31 of file TProofProgressStatus.h.

Referenced by GetBytesRead(), IncBytesRead(), operator+=(), operator-=(), Print(), Reset(), and SetBytesRead().

Long64_t TProofProgressStatus::fReadCalls [private]

Definition at line 32 of file TProofProgressStatus.h.

Referenced by GetReadCalls(), IncReadCalls(), operator+=(), operator-=(), Print(), and SetReadCalls().

Double_t TProofProgressStatus::fLearnTime [private]

Definition at line 33 of file TProofProgressStatus.h.

Referenced by GetLearnTime(), operator+=(), operator-=(), Print(), and SetLearnTime().

Double_t TProofProgressStatus::fLastProcTime [private]

Definition at line 34 of file TProofProgressStatus.h.

Referenced by GetCurrentRate(), IncProcTime(), operator+=(), Print(), and SetLastProcTime().

Double_t TProofProgressStatus::fProcTime [private]

Definition at line 35 of file TProofProgressStatus.h.

Referenced by GetProcTime(), GetRate(), IncProcTime(), operator+=(), operator-=(), Print(), Reset(), and SetProcTime().

Double_t TProofProgressStatus::fCPUTime [private]

Definition at line 36 of file TProofProgressStatus.h.

Referenced by GetCPUTime(), IncCPUTime(), operator+=(), operator-=(), Print(), Reset(), and SetCPUTime().

Double_t TProofProgressStatus::fLastUpdate [private]

Definition at line 37 of file TProofProgressStatus.h.

Referenced by GetLastUpdate(), and SetLastUpdate().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:45:26 2011 for ROOT_528-00b_version by  doxygen 1.5.1