def reset_profile():
 with _profile_lock:
  sys.getdxp()
  global _cumulative_profile
  _cumulative_profile = sys.getdxp()

def reset_profile ( ) : with _profile_lock : sys . getdxp ( ) global _cumulative_profile _cumulative_profile = sys . getdxp ( )
forgets any execution profile that has been gathered so far .