toctic#
- toctic(returntic=False, returntoc=False, *args, **kwargs)[source]#
A convenience fuction for multiple timings. Can return the default output of either
sc.tic()orsc.toc()(default neither). Arguments are passed tosc.toc(). Equivalent tosc.toc(reset=True).Example:
sc.tic() slow_operation_1() sc.toctic() slow_operation_2() sc.toc()
New in version 1.0.0.