@should_profile_cpu
def stop_cpu_profiling():
 cancel_thread(SAVE_THREAD_PTR)
 dump_data()

@ should_profile_cpu def stop_cpu_profiling ( ) : cancel_thread ( SAVE_THREAD_PTR ) dump_data ( )
save profiling information .