results() Return a CoverageResults object that contains the cumulative results of all previous calls to run
class tracemalloc.Trace Trace of a memory block. The Snapshot.traces attribute
pdb.runcall(function, *args, **kwds) Call the function (a function or method object, not a string) with the given arguments
pdb.pm() Enter post-mortem debugging of the traceback found in
profile.runctx(command, globals, locals, filename=None) This function is similar to run(), with added arguments
count Number of memory blocks in the new snapshot (int): 0 if the memory blocks have been released
tracemalloc.stop() Stop tracing Python memory allocations: uninstall hooks on Python memory allocators. Also clears all previously
faulthandler.dump_traceback(file=sys.stderr, all_threads=True) Dump the tracebacks of all threads into file. If all_threads
classmethod load(filename) Load a snapshot from a file. See also dump().
print_stats(sort=-1) Create a Stats object based on the current profile and print the results to stdout.
Page 3 of 15