toc

openpnm.utils.toc(quiet=False)[source]

Homemade version of matlab tic and toc function, tic starts or resets the clock, toc reports the time since the last call of tic.

Parameters

quiet (bool, default is False) – If False then a message is output to the console. If True the message is not displayed and the elapsed time is returned.

See also

tic