aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/kernel/src/kernel_refc.erl4
-rw-r--r--lib/tools/emacs/erlang.el2
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/kernel/src/kernel_refc.erl b/lib/kernel/src/kernel_refc.erl
index 3ad68e9ff9..05076dc885 100644
--- a/lib/kernel/src/kernel_refc.erl
+++ b/lib/kernel/src/kernel_refc.erl
@@ -38,7 +38,7 @@ start_link() ->
-spec scheduler_wall_time(boolean()) -> boolean().
scheduler_wall_time(Bool) ->
- gen_server:call(kernel_refc, {scheduler_wall_time, self(), Bool}).
+ gen_server:call(kernel_refc, {scheduler_wall_time, self(), Bool}, infinity).
%%-----------------------------------------------------------------
%% Callback functions from gen_server
@@ -136,4 +136,4 @@ cleanup(Resource, Cnt0, Pid) ->
any(Cnt) -> maps:size(Cnt) > 0.
resource(scheduler_wall_time, Enable) ->
- _ = erlang:system_flag(scheduler_wall_time, Enable).
+ _ = erts_internal:scheduler_wall_time(Enable).
diff --git a/lib/tools/emacs/erlang.el b/lib/tools/emacs/erlang.el
index d9efadf64a..6b93d63182 100644
--- a/lib/tools/emacs/erlang.el
+++ b/lib/tools/emacs/erlang.el
@@ -885,7 +885,6 @@ resulting regexp is surrounded by \\_< and \\_>."
"append"
"append_element"
"await_proc_exit"
- "await_sched_wall_time_modifications"
"bump_reductions"
"call_on_load_function"
"cancel_timer"
@@ -923,7 +922,6 @@ resulting regexp is surrounded by \\_< and \\_>."
"function_exported"
"garbage_collect_message_area"
"gather_gc_info_result"
- "gather_sched_wall_time_result"
"get_cookie"
"get_module_info"
"get_stacktrace"