diff options
author | Sverker Eriksson <[email protected]> | 2017-12-18 18:41:38 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2017-12-20 15:19:32 +0100 |
commit | d74796ecb17a68d442e846c4032a57cb2c083686 (patch) | |
tree | 403ce2e9b9c1203cbd015b182619af8e830f3494 /erts/preloaded/src/erlang.erl | |
parent | 6789b20533b4a848953fa7af34d9ba3a4c89c5ca (diff) | |
download | otp-d74796ecb17a68d442e846c4032a57cb2c083686.tar.gz otp-d74796ecb17a68d442e846c4032a57cb2c083686.tar.bz2 otp-d74796ecb17a68d442e846c4032a57cb2c083686.zip |
erts: Add more stats for mbcs_pool
similar to the ones in OTP-19.2.3.1
Diffstat (limited to 'erts/preloaded/src/erlang.erl')
-rw-r--r-- | erts/preloaded/src/erlang.erl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/erts/preloaded/src/erlang.erl b/erts/preloaded/src/erlang.erl index 8771089b65..3abb4538dc 100644 --- a/erts/preloaded/src/erlang.erl +++ b/erts/preloaded/src/erlang.erl @@ -3713,15 +3713,14 @@ memory_is_supported() -> get_blocks_size([{blocks_size, Sz, _, _} | Rest], Acc) -> get_blocks_size(Rest, Acc+Sz); -get_blocks_size([{_, _, _, _} | Rest], Acc) -> - get_blocks_size(Rest, Acc); get_blocks_size([{blocks_size, Sz} | Rest], Acc) -> get_blocks_size(Rest, Acc+Sz); -get_blocks_size([{_, _} | Rest], Acc) -> +get_blocks_size([_ | Rest], Acc) -> get_blocks_size(Rest, Acc); get_blocks_size([], Acc) -> Acc. + blocks_size([{Carriers, SizeList} | Rest], Acc) when Carriers == mbcs; Carriers == mbcs_pool; Carriers == sbcs -> |