aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_time_sup.c
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2018-03-13 17:56:10 +0100
committerRickard Green <[email protected]>2018-03-13 17:56:10 +0100
commitf812c271fb755c105cd618737f3035acb796b0a2 (patch)
treeb05c32de8f7ed2044d71bc70476dd5d08928bfd4 /erts/emulator/beam/erl_time_sup.c
parent65498fa75ae3d468e8cc54c8e82debe2733312e7 (diff)
parent47502282d75c3206dcfc7e2d31e768ca3d5458d7 (diff)
downloadotp-f812c271fb755c105cd618737f3035acb796b0a2.tar.gz
otp-f812c271fb755c105cd618737f3035acb796b0a2.tar.bz2
otp-f812c271fb755c105cd618737f3035acb796b0a2.zip
Merge branch 'rickard/remove-approx-started/OTP-14975'
* rickard/remove-approx-started/OTP-14975: Remove process start time for crash dumps
Diffstat (limited to 'erts/emulator/beam/erl_time_sup.c')
-rw-r--r--erts/emulator/beam/erl_time_sup.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/erts/emulator/beam/erl_time_sup.c b/erts/emulator/beam/erl_time_sup.c
index f2e0900fec..8cbdf9fa0f 100644
--- a/erts/emulator/beam/erl_time_sup.c
+++ b/erts/emulator/beam/erl_time_sup.c
@@ -191,17 +191,6 @@ static struct {
ErtsTimeSupData erts_time_sup__ erts_align_attribute(ERTS_CACHE_LINE_SIZE);
-/*
- * erts_get_approx_time() returns an *approximate* time
- * in seconds. NOTE that this time may jump backwards!!!
- */
-erts_approx_time_t
-erts_get_approx_time(void)
-{
- ErtsSystemTime stime = erts_os_system_time();
- return (erts_approx_time_t) ERTS_MONOTONIC_TO_SEC(stime);
-}
-
static ERTS_INLINE void
init_time_offset(ErtsMonotonicTime offset)
{