diff options
author | Björn Gustavsson <[email protected]> | 2019-04-12 10:25:39 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2019-04-12 10:25:39 +0200 |
commit | 2277e30d3dd207a81037d43a7328bbc91552bb76 (patch) | |
tree | 747a18948dfa9374e0c79d417fabfd094d7de40b /lib | |
parent | 07be518a33d934837fe9745f0ec9399cc34a367f (diff) | |
parent | 7e4c18d1a750f53e16e4b06707722164411bf462 (diff) | |
download | otp-2277e30d3dd207a81037d43a7328bbc91552bb76.tar.gz otp-2277e30d3dd207a81037d43a7328bbc91552bb76.tar.bz2 otp-2277e30d3dd207a81037d43a7328bbc91552bb76.zip |
Merge branch 'bjorn/erts/measure-process_main/OTP-15620'
* bjorn/erts/measure-process_main/OTP-15620:
Add benchmark
Add erts_debug:interpreter_size/0
Diffstat (limited to 'lib')
-rw-r--r-- | lib/kernel/src/erts_debug.erl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/kernel/src/erts_debug.erl b/lib/kernel/src/erts_debug.erl index c4d276f9e8..e6a30d0b92 100644 --- a/lib/kernel/src/erts_debug.erl +++ b/lib/kernel/src/erts_debug.erl @@ -33,6 +33,7 @@ -export([breakpoint/2, disassemble/1, display/1, dist_ext_to_term/2, flat_size/1, get_internal_state/1, instructions/0, + interpreter_size/0, map_info/1, same/2, set_internal_state/2, size_shared/1, copy_shared/1, dirty_cpu/2, dirty_io/2, dirty/3, lcnt_control/1, lcnt_control/2, lcnt_collect/0, lcnt_clear/0, @@ -118,6 +119,11 @@ get_internal_state(_) -> instructions() -> erlang:nif_error(undef). +-spec interpreter_size() -> pos_integer(). + +interpreter_size() -> + erlang:nif_error(undef). + -spec ic(F) -> Result when F :: function(), Result :: term(). |