openmmtools.utils.time_it

openmmtools.utils.time_it(*args, **kwds)[source]

Context manager to log execution time of a block of code.

Parameters:
task_name : str

The name of the task that will be reported.