diff options
author | Rickard Green <[email protected]> | 2014-08-26 17:26:31 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2014-09-25 16:42:20 +0200 |
commit | 6084a42a24fca52a5de2bc487c0cd2be46dcc21f (patch) | |
tree | 63fe33c074ccce7dd8bf51e846b9b778b81e4af5 /erts/emulator/test/a_SUITE.erl | |
parent | 65e335e255cb76d979f605ed34700e4e02041139 (diff) | |
download | otp-6084a42a24fca52a5de2bc487c0cd2be46dcc21f.tar.gz otp-6084a42a24fca52a5de2bc487c0cd2be46dcc21f.tar.bz2 otp-6084a42a24fca52a5de2bc487c0cd2be46dcc21f.zip |
Introduce support for eager check I/O scheduling
Diffstat (limited to 'erts/emulator/test/a_SUITE.erl')
-rw-r--r-- | erts/emulator/test/a_SUITE.erl | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/erts/emulator/test/a_SUITE.erl b/erts/emulator/test/a_SUITE.erl index 195c9c0a5f..17579be416 100644 --- a/erts/emulator/test/a_SUITE.erl +++ b/erts/emulator/test/a_SUITE.erl @@ -97,23 +97,13 @@ display_check_io(ChkIo) -> catch erlang:display('--- CHECK IO INFO ---'), catch erlang:display(ChkIo), catch erts_debug:set_internal_state(available_internal_state, true), - NoOfErrorFds = (catch erts_debug:get_internal_state(check_io_debug)), + NoOfErrorFds = (catch element(1, erts_debug:get_internal_state(check_io_debug))), catch erlang:display({'NoOfErrorFds', NoOfErrorFds}), catch erts_debug:set_internal_state(available_internal_state, false), catch erlang:display('--- CHECK IO INFO ---'), ok. get_check_io_info() -> - ChkIo = erlang:system_info(check_io), - case lists:keysearch(pending_updates, 1, ChkIo) of - {value, {pending_updates, 0}} -> - display_check_io(ChkIo), - ChkIo; - false -> - ChkIo; - _ -> - receive after 10 -> ok end, - get_check_io_info() - end. + z_SUITE:get_check_io_info(). |