Verified Commit d3935ffd authored by Rahix's avatar Rahix
Browse files

docs(utime): Document monotonic clock API


Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
parent db0ff2f6
Pipeline #4003 passed with stages
in 54 seconds
......@@ -33,6 +33,18 @@ alarm.
Return the current timestamp in milliseconds since 2000-01-01 00:00 in
the local timezone.
.. py:function:: monotonic()
Return a monotonically increasing timestamp.
.. versionadded:: 1.11
.. py:function:: monotonic_ms()
Return a monotonically increasing timestamp in milliseconds.
.. versionadded:: 1.11
.. py:function:: set_time(secs)
Sets the time to ``secs`` seconds since 2000-01-01 00:00 in the local
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment