34 fVirtMemMax(-1), fResMemMax(-1),
35 fVirtMaxMst(-1), fResMaxMst(-1)
38 fMsgs.SetOwner(
kTRUE);
39 fInfoMsgs.SetOwner(
kTRUE);
68 Info(
"Merge",
"start: max virtual memory: %.2f MB \tmax resident memory: %.2f MB ",
70 while (
TObject *obj = stats()) {
92 Info(
"Merge",
"during: max virtual memory: %.2f MB \t" 93 "max resident memory: %.2f MB ",
97 Info(
"Merge",
"during: max master virtual memory: %.2f MB \t" 98 "max master resident memory: %.2f MB ",
132 Printf(
" Max worker virtual memory: %.2f MB \tMax worker resident memory: %.2f MB ",
134 Printf(
" Max master virtual memory: %.2f MB \tMax master resident memory: %.2f MB ",
162 if (vmem > 0. && (fVirtMaxMst < 0. || vmem >
fVirtMaxMst)) fVirtMaxMst = vmem;
163 if (rmem > 0. && (fResMaxMst < 0. || rmem >
fResMaxMst)) fResMaxMst = rmem;
165 if (vmem > 0. && (fVirtMemMax < 0. || vmem >
fVirtMemMax)) fVirtMemMax = vmem;
166 if (rmem > 0. && (fResMemMax < 0. || rmem >
fResMemMax)) fResMemMax = rmem;
173 void TStatus::Streamer(
TBuffer &R__b)
182 TNamed::Streamer(R__b);
183 std::set<std::string> msgs;
186 UInt_t SS__s = 0, SS__c = 0;
190 Error(
"Streamer",
"no info found for 'set<string>' - skip");
193 std::set<std::string>::const_iterator it;
194 for (it = msgs.begin(); it != msgs.end(); it++) {
virtual const char * GetName() const
Returns name of object.
virtual Int_t WriteClassBuffer(const TClass *cl, void *pointer)=0
virtual void Info(const char *method, const char *msgfmt,...) const
Issue info message.
virtual void Print(Option_t *option="") const
Standard print function.
void SetMemValues(Long_t vmem=-1, Long_t rmem=-1, Bool_t master=kFALSE)
Set max memory values.
Collectable string class.
const char * NextMesg()
Return the next message or 0.
void AddInfo(const char *mesg)
Add an info message.
void Add(const char *mesg)
Add an error message.
Buffer base class used for serializing objects.
Long_t GetResMemMax(Bool_t master=kFALSE) const
TObject * FindObject(const char *name) const
Find object using its name.
Long_t GetVirtMemMax(Bool_t master=kFALSE) const
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
This class holds the status of an ongoing operation and collects error messages.
virtual Int_t Merge(TCollection *list)
PROOF Merge() function.
const char * GetName() const
Returns name of object.
Collection abstract base class.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
The ROOT global object gROOT contains a list of all defined classes.
virtual Int_t ReadClassBuffer(const TClass *cl, void *pointer, const TClass *onfile_class=0)=0
Version_t GetClassVersion() const
static TClass * GetClass(const char *name, Bool_t load=kTRUE, Bool_t silent=kFALSE)
Static method returning pointer to TClass of the specified class name.
void Reset()
Reset the iterator on the messages.
Mother of all ROOT objects.
virtual void Add(TObject *obj)
THashList fInfoMsgs
iterator in messages
virtual Int_t GetSize() const
virtual Version_t ReadVersion(UInt_t *start=0, UInt_t *bcnt=0, const TClass *cl=0)=0