You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nif: Add erlang/os system_time/0 and monotonic_time/0
Add zero-arity NIF implementations for erlang:system_time/0, erlang:monotonic_time/0, and os:system_time/0,1, returning time in native units.
erlang:system_time/0 and erlang:monotonic_time/0 delegate to their /1 counterparts with native
os:system_time/0,1 reuse the erlang:system_time NIF directly to avoid code duplication
Added Erlang stubs/exports in erlang.erl and os.erl
Added Elixir wrappers: System.monotonic_time/0, System.system_time/0, System.os_time/0,1
Added tests for all new functions
Signed-off-by: Peter M <petermm@gmail.com>
- Added support for ESP32 development builds to include NVS partition data at build time
81
81
- Added `nanosecond` and `native` time unit support to `erlang:system_time/1`, `erlang:monotonic_time/1`, and `calendar:system_time_to_universal_time/2`
82
+
- Added `erlang:system_time/0`, `erlang:monotonic_time/0`, and `os:system_time/0,1` nifs
0 commit comments