Timer Utility

xobox.utils.timer.counter()[source]

Return the value (in fractional seconds) of a performance counter with the best resolution available.

The counter actually used depends on the platform and Python version:

Returns:progressing counter value (in fractional seconds)
Return type:float