ATLAS Offline Software
Loading...
Searching...
No Matches
Control
Hephaestus
python
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
Generated on
for ATLAS Offline Software by
1.14.0