File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 42
42
//|
43
43
//| def monotonic() -> float:
44
44
//| """Returns an always increasing value of time with an unknown reference
45
- //| point. Only use it to compare against other values from `time.monotonic()`.
45
+ //| point. Only use it to compare against other values from `time.monotonic()`
46
+ //| during the same code run.
46
47
//|
47
48
//| On most boards, `time.monotonic()` converts a 64-bit millisecond tick counter
48
49
//| to a float. Floats on most boards are encoded in 30 bits internally, with
@@ -212,6 +213,8 @@ MP_DEFINE_CONST_FUN_OBJ_0(time_time_obj, time_time);
212
213
//| def monotonic_ns() -> int:
213
214
//| """Return the time of the monotonic clock, which cannot go backward, in nanoseconds.
214
215
//| Not available on boards without long integer support.
216
+ //| Only use it to compare against other values from `time.monotonic()`
217
+ //| during a single code run.
215
218
//|
216
219
//| :return: the current time
217
220
//| :rtype: int"""
You can’t perform that action at this time.
0 commit comments