tdiff
Calculates the difference between the current monotonic time and a provided timestamp.
def tdiff(
then: float
) - > float
Calculates the elapsed time in seconds between a previous monotonic timestamp and the current time.
Parameters
| Name | Type | Description |
|---|---|---|
| then | float | A previous timestamp obtained from time.monotonic() to compare against the current time. |
Returns
| Type | Description |
|---|---|
float | The time difference in seconds since the provided monotonic timestamp. |