ATLAS Offline Software
Loading...
Searching...
No Matches
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
9from MemoryTracker import configure, start, stop # noqa: F401
10from MemoryTracker import PROFILE, LEAK_CHECK, FILTER_STL # noqa: F401
11
12def 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