ATLAS Offline Software
Loading...
Searching...
No Matches
python.AthOptionsParser.MemCheckAction Class Reference
Inheritance diagram for python.AthOptionsParser.MemCheckAction:
Collaboration diagram for python.AthOptionsParser.MemCheckAction:

Public Member Functions

 __call__ (self, parser, args, values, option_string=None)

Public Attributes

 dest

Detailed Description

Enable Hepheastus

Definition at line 32 of file AthOptionsParser.py.

Member Function Documentation

◆ __call__()

python.AthOptionsParser.MemCheckAction.__call__ ( self,
parser,
args,
values,
option_string = None )

Definition at line 34 of file AthOptionsParser.py.

34 def __call__(self, parser, args, values, option_string=None):
35
36 setattr(args, self.dest,
37 [] if values=='all' else [values])
38
39 # early import is needed for proper offloading later
40 import Hephaestus.MemoryTracker as memtrack # noqa: F401
41
42 if option_string=='--delete-check':
43 args.memchk_mode = 'delete-check'
44 import Hephaestus.DeleteChecker # noqa: F401
45 else:
46 args.memchk_mode = 'leak-check'
47
48

Member Data Documentation

◆ dest

python.AthOptionsParser.MemCheckAction.dest

Definition at line 36 of file AthOptionsParser.py.


The documentation for this class was generated from the following file: