httomo.utils.catchtime

Contents

httomo.utils.catchtime#

class httomo.utils.catchtime[source]#

A context manager to measure ns-accurate time for the context block.

Usage:
with catchtime() as t:

print(t.elapsed)

Methods