def add_runtime(function):
def wrapper(*args,**kwargs):  <EOL><INDENT>pr=cProfile.Profile()<EOL>pr.enable()<EOL>output = function(*args,**kwargs)<EOL>pr.disable()<EOL>return pr,output<EOL><DEDENT>return wrapper<EOL>
Decorator that adds a runtime profile object to the output