12#ifndef ROOT_TVirtualPacketizer
13#define ROOT_TVirtualPacketizer
#define ClassDef(name, id)
Manages an element of a TDSet.
This class implements a data set to be used for PROOF processing.
TMap implements an associative array of (key,value) pairs using a THashTable for efficient retrieval ...
A simple TTree restricted to a list of double variables only.
A simple TTree restricted to a list of float variables only.
Mother of all ROOT objects.
This packetizer is based on TPacketizer but uses different load-balancing algorithms and data structu...
This class generates packets to be processed on PROOF worker servers.
Container class for processing statistics.
Double_t GetProcTime() const
Long64_t GetReadCalls() const
Long64_t GetEntries() const
Double_t GetCurrentRate() const
Get current rate. Rteunr the average rate if the current is not defined.
Long64_t GetBytesRead() const
Class describing a PROOF worker server.
const char * GetOrdinal() const
const char * Data() const
Basic time type with millisecond precision.
Handles synchronous and a-synchronous timer events.
Long64_t GetEntriesProcessed() const
Double_t GetProcTime() const
virtual TProofProgressStatus * AddProcessed(TProofProgressStatus *st)=0
const char * GetOrdinal() const
const char * GetName() const
Returns name of object.
TProofProgressStatus * fStatus
TProofProgressStatus * GetProgressStatus()
The packetizer is a load balancing object created for each query.
Long64_t GetEntries(Bool_t tree, TDSetElement *e)
Get entries.
TProofProgressStatus * GetStatus()
Float_t GetProcTime() const
TList * GetFailedPackets()
void SetProgressStatus(TProofProgressStatus *st)
virtual Int_t GetEstEntriesProcessed(Float_t, Long64_t &ent, Long64_t &bytes, Long64_t &calls)
virtual Int_t AddWorkers(TList *workers)
Adds new workers.
virtual ~TVirtualPacketizer()
Destructor.
TVirtualPacketizer(const TVirtualPacketizer &)
TProofProgressStatus * fProgressStatus
TNtuple * GetProgressPerf(Bool_t steal=kFALSE)
virtual Bool_t HandleTimer(TTimer *timer)
Send progress message to client.
void SetFailedPackets(TList *list)
virtual Int_t AddProcessed(TSlave *, TProofProgressStatus *, Double_t, TList **)
TMap * GetSlaveStats() const
Long64_t GetReadCalls() const
virtual Float_t GetCurrentRate(Bool_t &all)
virtual void MarkBad(TSlave *, TProofProgressStatus *, TList **)
Long64_t GetEntriesProcessed() const
Long64_t GetTotalEntries() const
Double_t GetCumProcTime() const
virtual void StopProcess(Bool_t abort, Bool_t stoptimer=kFALSE)
Stop process.
Float_t GetInitTime() const
virtual void SetInitTime()
Set the initialization time.
TVirtualPacketizer(TList *input, TProofProgressStatus *st=0)
Constructor.
void operator=(const TVirtualPacketizer &)
virtual Int_t AssignWork(TDSet *, Long64_t, Long64_t)
virtual Int_t GetActiveWorkers()
Long64_t GetBytesRead() const
TDSetElement * CreateNewPacket(TDSetElement *base, Long64_t first, Long64_t num)
Creates a new TDSetElement from from base packet starting from the first entry with num entries.
TList * GetConfigParams(Bool_t steal=kFALSE)
virtual TDSetElement * GetNextPacket(TSlave *sl, TMessage *r)
Get next packet.
void SetTotalEntries(Long64_t ent)