lsst.daf.base
13.0-2-g167564e+11
|
Functions | |
def | setCallbacks |
def | mortal |
Print leaked memory blocks. More... | |
Variables | |
list | __all__ = ["setCallbacks", "mortal"] |
def lsst.daf.base.citizen.citizenContinued.mortal | ( | memId0 = 0 , |
|
nleakPrintMax = 20 , |
|||
first = True , |
|||
showTypes = None |
|||
) |
Print leaked memory blocks.
memId0 | Only consider blocks allocated after this memId |
nleakPrintMax | Maximum number of leaks to print; <= 0 means unlimited |
first | Print the first nleakPrintMax blocks; if False print the last blocks. |
showTypes | Only print objects matching this regex (if starts with !, print objects that don't match) |
If you want finer control than nleakPrintMax/first provide, use Citizen.census() to get the entire list
You can get the next memId to be allocated with mortal("set"), e.g. memId0 = mortal("set")
mortal(memId0)
Definition at line 60 of file citizenContinued.py.
def lsst.daf.base.citizen.citizenContinued.setCallbacks | ( | new = None , |
|
delete = None , |
|||
both = False |
|||
) |
Set the callback IDs for the Citizen; if both is true, set both new and delete to the same value You probably want to chant the following to gdb: break defaultNewCallback break defaultDeleteCallback You might want to put this in your .gdbinit file. You can retrieve a citizen's signature from python with obj.repr()
Definition at line 34 of file citizenContinued.py.
list lsst.daf.base.citizen.citizenContinued.__all__ = ["setCallbacks", "mortal"] |
Definition at line 26 of file citizenContinued.py.