time_this_to_measurement

lsst.verify.timer.time_this_to_measurement(measurement: Measurement)

Time the enclosed block and record it as an lsst.verify measurement.

Parameters:
measurementlsst.verify.Measurement

Measurement object to fill with the timing information. Its metric must have time dimensions. Any properties other than metric and metric_name may be overwritten.