From 0e3355903d2ebcf5ee9e76096f51ac9a116a9dbb Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 2 Feb 2017 16:20:58 -0500 Subject: time: record monotonic clock reading in time.Now, for more accurate comparisons See https://golang.org/design/12914-monotonic for details. Fixes #12914. Change-Id: I80edc2e6c012b4ace7161c84cf067d444381a009 Reviewed-on: https://go-review.googlesource.com/36255 Run-TryBot: Russ Cox TryBot-Result: Gobot Gobot Reviewed-by: Caleb Spare Reviewed-by: Ian Lance Taylor --- src/runtime/sys_linux_s390x.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/runtime/sys_linux_s390x.s') diff --git a/src/runtime/sys_linux_s390x.s b/src/runtime/sys_linux_s390x.s index 47f34d9ea4..2291718074 100644 --- a/src/runtime/sys_linux_s390x.s +++ b/src/runtime/sys_linux_s390x.s @@ -169,8 +169,8 @@ TEXT runtime·mincore(SB),NOSPLIT|NOFRAME,$0-28 MOVW R2, ret+24(FP) RET -// func now() (sec int64, nsec int32) -TEXT time·now(SB),NOSPLIT,$16 +// func walltime() (sec int64, nsec int32) +TEXT runtime·walltime(SB),NOSPLIT,$16 MOVW $0, R2 // CLOCK_REALTIME MOVD $tp-16(SP), R3 MOVW $SYS_clock_gettime, R1 -- cgit v1.3