Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:19
erlang
2029-Teach-erlang-monotonic_time-1-the-perf_cou...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 2029-Teach-erlang-monotonic_time-1-the-perf_counter-time-.patch of Package erlang
From 81d2981d47a7a28f136959e71dfd17c11a91a79e Mon Sep 17 00:00:00 2001 From: Rickard Green <rickard@erlang.org> Date: Tue, 10 Apr 2018 15:06:32 +0200 Subject: [PATCH] Teach erlang:monotonic_time/1 the perf_counter time unit --- erts/emulator/beam/erl_time_sup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/erts/emulator/beam/erl_time_sup.c b/erts/emulator/beam/erl_time_sup.c index 9e37106b88..b9d19eb7d0 100644 --- a/erts/emulator/beam/erl_time_sup.c +++ b/erts/emulator/beam/erl_time_sup.c @@ -2155,6 +2155,8 @@ time_unit_conversion(Process *c_p, Eterm term, ErtsMonotonicTime val, ErtsMonoto ERTS_BIF_PREP_RET(ret, make_time_val(c_p, result)); break; #endif + case am_perf_counter: + goto trap_to_erlang_code; default: { Eterm value, native_res; #ifndef ARCH_64 -- 2.16.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor