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_mipsx.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/runtime/sys_linux_mipsx.s') diff --git a/src/runtime/sys_linux_mipsx.s b/src/runtime/sys_linux_mipsx.s index 73ce06114c..3b446b15ef 100644 --- a/src/runtime/sys_linux_mipsx.s +++ b/src/runtime/sys_linux_mipsx.s @@ -175,8 +175,8 @@ TEXT runtime·mincore(SB),NOSPLIT,$0-16 MOVW R2, ret+12(FP) RET -// func now() (sec int64, nsec int32) -TEXT time·now(SB),NOSPLIT,$8-12 +// func walltime() (sec int64, nsec int32) +TEXT runtime·walltime(SB),NOSPLIT,$8-12 MOVW $0, R4 // CLOCK_REALTIME MOVW $4(R29), R5 MOVW $SYS_clock_gettime, R2 -- cgit v1.3-5-g9baa