]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliMemoryWatcher.h
LUTs mapping symnames and original global matrices removed from AliGeomManager, which...
[u/mrichter/AliRoot.git] / STEER / AliMemoryWatcher.h
index ab7ef3e408372e4b99da457574e0296c2a0ba566..66855ca43313546cad794c4689f18c2e9577eb10 100644 (file)
@@ -50,7 +50,6 @@ public:
   AliMemoryWatcher(UInt_t maxsize=10000);
   AliMemoryWatcher(const AliMemoryWatcher& mw);
   ~AliMemoryWatcher() ;
-  void SetUseMallinfo(Bool_t use) { fUseMallinfo = use; }
   void Watch(Int_t x);
   
   UInt_t Size(void) const { return fSize; }
@@ -62,22 +61,19 @@ public:
   TGraph* GraphRSSIZE(void);
   TGraph* GraphTIME(void);
   TH2* Frame(void) const ;
-  Int_t       Write(const char *name=0, Int_t option=0, Int_t bufsize=0);
+  Int_t       WriteToFile();
   AliMemoryWatcher & operator = (const AliMemoryWatcher &) { return *this; } 
 private:
-  Bool_t fUseMallinfo; // use mallinfo function instead of ps command
-  Int_t fPID;          // PID of the process to watch
-  char fCmd[1024];     // the command sent to the system to retrieve things ("ps .....")
   UInt_t fMAXSIZE;     // maximum size of arrays where the informationis stored
   UInt_t fSize;        // the requested size of information to be retrieved
-  Int_t* fX;           // array that contains the step numbers
-  Int_t* fVSIZE;       // array that contains the virtual memory at each step
-  Int_t* fRSSIZE;      // array that contains the real memory at each step
-  Double_t* fTIME;     // array that contains the CPU time at each step
+  Int_t* fX;           //[fMAXSIZE] array that contains the step numbers
+  Int_t* fVSIZE;       //[fMAXSIZE] array that contains the virtual memory at each step
+  Int_t* fRSSIZE;      //[fMAXSIZE] array that contains the real memory at each step
+  Double_t* fTIME;     //[fMAXSIZE] array that contains the CPU time at each step
   TStopwatch* fTimer;  // the chronometer
   Bool_t fDisabled;    // to switch on/off the monitoring
 
-  ClassDef(AliMemoryWatcher,1) // General purpose memory watcher
+  ClassDef(AliMemoryWatcher,2) // General purpose memory watcher
 
 } ;
 #endif