diff options
author | Rickard Green <[email protected]> | 2010-08-11 23:56:37 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2010-09-02 22:25:05 +0200 |
commit | a8a8183bca5765e50ed0c5bf3745c9624b6af958 (patch) | |
tree | 3cf284427a379c72510bfd9b071500bc2bf7bc69 /erts/doc/src | |
parent | e471254a16e94c1d23b2fd5d4255bc33eba3fcbf (diff) | |
download | otp-a8a8183bca5765e50ed0c5bf3745c9624b6af958.tar.gz otp-a8a8183bca5765e50ed0c5bf3745c9624b6af958.tar.bz2 otp-a8a8183bca5765e50ed0c5bf3745c9624b6af958.zip |
Add erlang:system_info(build_type)
Added erlang:system_info(build_type) which makes it
easier to chose drivers, NIF libraries, etc based
on build type of the runtime system.
Diffstat (limited to 'erts/doc/src')
-rw-r--r-- | erts/doc/src/erlang.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml index 1eec45e0f3..cd3bcd3a07 100644 --- a/erts/doc/src/erlang.xml +++ b/erts/doc/src/erlang.xml @@ -5456,6 +5456,16 @@ true</pre> <seealso marker="#system_info_allocator_tuple">erlang:system_info({allocator, Alloc})</seealso>. </p> </item> + <tag><c>build_type</c></tag> + <item> + <p>Returns an atom describing the build type of the runtime + system. This is normally the atom <c>opt</c> for optimized. + Other possible return values are <c>debug</c>, <c>purify</c>, + <c>quantify</c>, <c>purecov</c>, <c>gcov</c>, <c>valgrind</c>, + <c>gprof</c>, and <c>lcnt</c>. Possible return values + may be added and/or removed at any time without prior notice. + </p> + </item> <tag><c>c_compiler_used</c></tag> <item> <p>Returns a two-tuple describing the C compiler used when |