TProofDebug.h

Go to the documentation of this file.
00001 // @(#)root/proof:$Id: TProofDebug.h 31505 2009-12-02 13:20:06Z brun $
00002 // Author: Maarten Ballintijn 19/6/2002
00003 
00004 /*************************************************************************
00005  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
00006  * All rights reserved.                                                  *
00007  *                                                                       *
00008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
00009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
00010  *************************************************************************/
00011 
00012 #ifndef ROOT_TProofDebug
00013 #define ROOT_TProofDebug
00014 
00015 
00016 //////////////////////////////////////////////////////////////////////////
00017 //                                                                      //
00018 // TProofDebug                                                          //
00019 //                                                                      //
00020 // Detailed logging / debug scheme.                                     //
00021 //                                                                      //
00022 //////////////////////////////////////////////////////////////////////////
00023 
00024 #ifndef ROOT_Rtypes
00025 #include "Rtypes.h"
00026 #endif
00027 
00028 class TProofDebug {
00029 public:
00030    enum EProofDebugMask {
00031       kNone          = 0,
00032       kPacketizer    = 1,
00033       kLoop          = 2,
00034       kSelector      = 4,
00035       kOutput        = 8,
00036       kInput         = 16,
00037       kGlobal        = 32,
00038       kPackage       = 64,
00039       kFeedback      = 128,
00040       kCondor        = 256,
00041       kDraw          = 512,
00042       kAsyn          = 1024,
00043       kCache         = 2048,
00044       kCollect       = 4096,
00045       kDataset       = 8192,
00046       kSubmerger     = 16384,
00047 
00048       kAll           = 0xFFFFFFFF
00049    };
00050 };
00051 
00052 R__EXTERN TProofDebug::EProofDebugMask gProofDebugMask;
00053 R__EXTERN Int_t gProofDebugLevel;
00054 
00055 #define PDB(mask,level) \
00056    if ((TProofDebug::mask & gProofDebugMask) && gProofDebugLevel >= (level))
00057 
00058 #endif

Generated on Tue Jul 5 14:27:57 2011 for ROOT_528-00b_version by  doxygen 1.5.1