| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

__init__.py

Go to the documentation of this file.
00001 # File: Hephaestus/__init__.py
00002 # Author Wim Lavrijsen (WLavrijsen@lbl.gov)
00003 
00004 __version__ = '1.1.0'
00005 __author__ = 'Wim Lavrijsen (WLavrijsen@lbl.gov)'
00006 
00007 def setup():
00008    import atexit, os
00009    __path__.append( os.path.join( __path__[0], os.environ[ 'CMTCONFIG' ] ) )
00010 
00011    import MemoryTracker
00012 
00013  # switch off profiling; do filter STL internal allocations
00014    MemoryTracker.configure( MemoryTracker.LEAK_CHECK |
00015                             MemoryTracker.QUICK |
00016                             MemoryTracker.FILTER_STL )
00017 
00018  # ignore muon common blocks in report
00019    MemoryTracker.ignore( '__m_mb_' )
00020 
00021  # ignore CINT dictionary builtup in report
00022    MemoryTracker.ignore( 'G__' )
00023 
00024  # ignore streamers and collections from ROOT I/O in report
00025    MemoryTracker.ignore( 'TStreamerInfo' )
00026    MemoryTracker.ignore( 'TGenCollectionProxy' )
00027    MemoryTracker.ignore( 'TCollectionProxy' )
00028    MemoryTracker.ignore( 'TStorage' )
00029 
00030  # was a known issue, no longer relevant, but leave ignore in
00031    MemoryTracker.ignore( 'StoreGateSvc::setupProxy' )
00032 
00033    atexit.register( MemoryTracker.atexit )
00034 
00035 setup()
00036 del setup
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:06:19 2011 for Hephaestus by doxygen 1.4.7