diff options
author | Peter Lemenkov <[email protected]> | 2014-11-02 19:49:55 +0300 |
---|---|---|
committer | Peter Lemenkov <[email protected]> | 2014-11-02 19:52:00 +0300 |
commit | 1bc59d68f5d22650fa18aa064ed8e50fc9a6a216 (patch) | |
tree | bf0a5463c3ba1c84fa91e392cd8e9ca98b84d528 /lib/runtime_tools/src | |
parent | 4e969748e47566c974ce526ade50c34ab62e3b26 (diff) | |
download | otp-1bc59d68f5d22650fa18aa064ed8e50fc9a6a216.tar.gz otp-1bc59d68f5d22650fa18aa064ed8e50fc9a6a216.tar.bz2 otp-1bc59d68f5d22650fa18aa064ed8e50fc9a6a216.zip |
Expose NIF version
This patch allows checking for NIF API version in a way similar to
driver version. E.g. by calling erlang:system_info(nif_version).
Signed-off-by: Peter Lemenkov <[email protected]>
Diffstat (limited to 'lib/runtime_tools/src')
-rw-r--r-- | lib/runtime_tools/src/system_information.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/runtime_tools/src/system_information.erl b/lib/runtime_tools/src/system_information.erl index f541d6e449..04cc33e1ad 100644 --- a/lib/runtime_tools/src/system_information.erl +++ b/lib/runtime_tools/src/system_information.erl @@ -371,6 +371,7 @@ erlang_system_info() -> logical_processors_online, logical_processors_available, driver_version, + nif_version, emu_args, ethread_info, beam_jump_table, |