@should_dump_tracemalloc
def stop_tracemalloc_dump():
 cancel_thread(SAVE_TRACEMALLOC_PTR)
 dump_tracemalloc()

@ should_dump_tracemalloc def stop_tracemalloc_dump ( ) : cancel_thread ( SAVE_TRACEMALLOC_PTR ) dump_tracemalloc ( )
save profiling information .