def apply_profile(node, profile):
 if ((not profile) or (profile.fct_call_time == 0)):
  return None
 time = profile.apply_time.get(node, 0)
 call_time = profile.fct_call_time
 return [time, call_time]

def apply_profile ( node , profile ) : if ( ( not profile ) or ( profile . fct_call_time == 0 ) ) : return None time = profile . apply_time . get ( node , 0 ) call_time = profile . fct_call_time return [ time , call_time ]
return apply profiling informaton .