|
LSSTApplications
10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
|
Functions | |
| def | setCallbacks |
| def | mortal |
| def lsst.daf.base.citizen.mortal | ( | memId0 = 0, |
|
nleakPrintMax = 20, |
|||
first = True, |
|||
showTypes = None |
|||
| ) |
Print leaked memory blocks
@param memId0 Only consider blocks allocated after this memId
@param nleakPrintMax Maximum number of leaks to print; <= 0 means unlimited
@param first Print the first nleakPrintMax blocks; if False print the last blocks.
@param 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
dafBase.Citizen.census() to get the entire list
You can get the next memId to be allocated with mortal("set"), e.g.
memId0 = mortal("set")
# work work work
mortal(memId0)
Definition at line 29 of file citizen.py.
| def lsst.daf.base.citizen.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 4 of file citizen.py.
1.8.5