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_ppc64x.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/runtime/sys_linux_ppc64x.s') diff --git a/src/runtime/sys_linux_ppc64x.s b/src/runtime/sys_linux_ppc64x.s index a40fe3bc00..b43bda1ef2 100644 --- a/src/runtime/sys_linux_ppc64x.s +++ b/src/runtime/sys_linux_ppc64x.s @@ -157,8 +157,8 @@ TEXT runtime·mincore(SB),NOSPLIT|NOFRAME,$0-28 MOVW R3, 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 MOVD $0, R3 // CLOCK_REALTIME MOVD $0(R1), R4 SYSCALL $SYS_clock_gettime -- cgit v1.3-5-g9baa