diff options
author | Siri Hansen <[email protected]> | 2019-02-22 14:26:07 +0100 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2019-02-22 14:26:07 +0100 |
commit | 00678f41aaa14191dc333596fee33075ce515e24 (patch) | |
tree | a0b89d879ba052248c54f454dfd44ac33b0527c2 /erts/emulator | |
parent | 9fc7abf9e8741552d11a64470b3c489120d069b1 (diff) | |
download | otp-00678f41aaa14191dc333596fee33075ce515e24.tar.gz otp-00678f41aaa14191dc333596fee33075ce515e24.tar.bz2 otp-00678f41aaa14191dc333596fee33075ce515e24.zip |
[logger] Change timestamp from erlang:system_time to os:system_time
This is to align the timestamps with external logs.
Diffstat (limited to 'erts/emulator')
-rw-r--r-- | erts/emulator/beam/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/utils.c b/erts/emulator/beam/utils.c index a231638b50..c5deed38ad 100644 --- a/erts/emulator/beam/utils.c +++ b/erts/emulator/beam/utils.c @@ -1946,7 +1946,7 @@ do_allocate_logger_message(Eterm gleader, ErtsMonotonicTime *ts, Eterm *pid, else sz += MAP4_SZ /* metadata map w gl w pid*/; - *ts = ERTS_MONOTONIC_TO_USEC(erts_get_monotonic_time(NULL) + erts_get_time_offset()); + *ts = ERTS_MONOTONIC_TO_USEC(erts_os_system_time()); erts_bld_sint64(NULL, &sz, *ts); *bp = new_message_buffer(sz); |