ROOT logo
// @(#)root/memstat:$Id: TMemStat.h 36382 2010-10-20 12:27:40Z brun $
// Author: Anar Manafov ( 2008-03-02

* Copyright (C) 1995-2010, Rene Brun and Fons Rademakers.               *
* All rights reserved.                                                  *
*                                                                       *
* For the licensing terms see $ROOTSYS/LICENSE.                         *
* For the list of contributors see $ROOTSYS/README/CREDITS.             *
#ifndef ROOT_TMemStat
#define ROOT_TMemStat

class TMemStat: public TObject {
   Bool_t fIsActive;    // is object attached to MemStat

   TMemStat(Option_t* option = "read", Int_t buffersize=10000, Int_t maxcalls=5000000);
   virtual ~TMemStat();
   static  void Close();
   virtual void Disable();
   virtual void Enable();
   static  void Show(Double_t update=0.1, Int_t nbigleaks=20, const char* fname="*");

   ClassDef(TMemStat, 0) // a user interface class of MemStat