def time_func(func, name, *args, **kwargs):
tic = time.time()<EOL>out = func(*args, **kwargs)<EOL>toc = time.time()<EOL>print('<STR_LIT>' % (name, toc - tic))<EOL>return out<EOL>
call a func with args and kwargs, print name of func and how
    long it took.