aboutsummaryrefslogtreecommitdiffstats
path: root/lib/runtime_tools/src/system_information.erl
diff options
context:
space:
mode:
authorPeter Lemenkov <[email protected]>2014-11-02 19:49:55 +0300
committerPeter Lemenkov <[email protected]>2014-11-02 19:52:00 +0300
commit1bc59d68f5d22650fa18aa064ed8e50fc9a6a216 (patch)
treebf0a5463c3ba1c84fa91e392cd8e9ca98b84d528 /lib/runtime_tools/src/system_information.erl
parent4e969748e47566c974ce526ade50c34ab62e3b26 (diff)
downloadotp-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/system_information.erl')
-rw-r--r--lib/runtime_tools/src/system_information.erl1
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,