re PR go/66574 (Time is provided in millisecond precision instead of nanoseconds...
authorIan Lance Taylor <ian@gcc.gnu.org>
Sat, 21 Nov 2015 01:27:44 +0000 (01:27 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Sat, 21 Nov 2015 01:27:44 +0000 (01:27 +0000)
commitbbbe8b338b4e31ce315f97562906a013240bd621
treece90880ae1cd1318680980381769544c90f941c8
parent23df90322f24ea24b9f0d077be543dc0a71e7f02
re PR go/66574 (Time is provided in millisecond precision instead of nanoseconds as described in go documentation)

PR go/66574
    runtime: Use clock_gettime to get current time.

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

    Update golang/go#11222.

    Fixes https://gcc.gnu.org/PR66574.

    Reviewed-on: https://go-review.googlesource.com/17156

From-SVN: r230694
gcc/go/gofrontend/MERGE
libgo/configure
libgo/configure.ac
libgo/runtime/go-now.c