]> Cypherpunks repositories - gostls13.git/commit
runtime: Use clock_gettime to get current time on ppc64x
authorCarlos Eduardo Seo <cseo@linux.vnet.ibm.com>
Wed, 10 Aug 2016 18:02:02 +0000 (15:02 -0300)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 23 Aug 2016 05:37:05 +0000 (05:37 +0000)
commit0df5ab7e6569a8bf6bc87975e539706163bf664a
tree34799361c281869326325d822c3fbf29676098f1
parent8a9b96ace4c0064d3c06cd483368bd655ad43d87
runtime: Use clock_gettime to get current time on ppc64x

Fetch the current time in nanoseconds, not microseconds, by using
clock_gettime rather than gettimeofday.

Updates #11222

Change-Id: I1c2c1b88f80ae82002518359436e19099061c6fb
Reviewed-on: https://go-review.googlesource.com/26790
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Lynn Boger <laboger@linux.vnet.ibm.com>
Reviewed-by: Minux Ma <minux@golang.org>
src/runtime/sys_linux_ppc64x.s