Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stefan Haun
firmware
Commits
d3935ffd
Verified
Commit
d3935ffd
authored
Sep 22, 2019
by
Rahix
Browse files
docs(utime): Document monotonic clock API
Signed-off-by:
Rahix
<
rahix@rahix.de
>
parent
db0ff2f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Documentation/pycardium/utime.rst
View file @
d3935ffd
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment