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