timings(reps,func,*args,**kw) -> (t_total,t_per_call) Execute a function reps times, return a tuple with the elapsed total CPU time in seconds and the time per call. These are just the first two values in timings_out().
(reps,func,*args,**kw)
| 97 | |
| 98 | |
| 99 | def timings(reps,func,*args,**kw): |
| 100 | """timings(reps,func,*args,**kw) -> (t_total,t_per_call) |
| 101 | |
| 102 | Execute a function reps times, return a tuple with the elapsed total CPU |
| 103 | time in seconds and the time per call. These are just the first two values |
| 104 | in timings_out().""" |
| 105 | |
| 106 | return timings_out(reps,func,*args,**kw)[0:2] |
| 107 | |
| 108 | |
| 109 | def timing(func,*args,**kw): |
nothing calls this directly
no test coverage detected