clockblocks.debug.log_calc_time_end

clockblocks.debug.log_calc_time_end(tag: str) None[source]

Utility to see how long certain stretches of code are taking on different clocks. This call marks the end of the stretch of code and :function:log_calc_time_start marks the beginning of the stretch of code. Summaries of how long each tagged stretch took are printed at the end of each wait in the master clock.

Parameters:

tag – name used to represent the stretch of code of interest.