ATLAS Offline Software
MemoryProfiler.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
2 
3 # File: Hephaestus/MemoryProfiler.py
4 # Author Wim Lavrijsen (WLavrijsen@lbl.gov)
5 
6 __version__ = '1.0.0'
7 __author__ = 'Wim Lavrijsen (WLavrijsen@lbl.gov)'
8 
9 from MemoryTracker import configure, start, stop # noqa: F401
10 from MemoryTracker import PROFILE, LEAK_CHECK, FILTER_STL # noqa: F401
11 
12 def output( name ):
13  import MemoryTracker
14  MemoryTracker.configure( MemoryTracker.PROFILE | MemoryTracker.configure() )
15  MemoryTracker._symbname( name )
16 
17  import Auditor
18  Auditor.GlobalSettings[ 'label' ] = name
python.MemoryProfiler.output
def output(name)
Definition: MemoryProfiler.py:12