LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
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.