]> Cypherpunks repositories - gostls13.git/commit
time: faster Nanoseconds call
authorRuss Cox <rsc@golang.org>
Thu, 3 Nov 2011 21:35:28 +0000 (17:35 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 3 Nov 2011 21:35:28 +0000 (17:35 -0400)
commitf437331f80b05944e8f15b2f81429729101a9455
tree213071dde50770d53d80083bf6d0b07937e70bf5
parent31452a36189e48ad178a85299e2b189701d8f358
time: faster Nanoseconds call

runtime knows how to get the time of day
without allocating memory.

R=golang-dev, dsymonds, dave, hectorchu, r, cw
CC=golang-dev
https://golang.org/cl/5297078
16 files changed:
src/pkg/runtime/Makefile
src/pkg/runtime/darwin/386/sys.s
src/pkg/runtime/darwin/amd64/sys.s
src/pkg/runtime/freebsd/386/sys.s
src/pkg/runtime/freebsd/amd64/sys.s
src/pkg/runtime/linux/386/sys.s
src/pkg/runtime/linux/amd64/sys.s
src/pkg/runtime/linux/arm/sys.s
src/pkg/runtime/openbsd/386/sys.s
src/pkg/runtime/openbsd/amd64/sys.s
src/pkg/runtime/plan9/386/signal.c
src/pkg/runtime/runtime.c
src/pkg/runtime/runtime.h
src/pkg/runtime/time.goc [new file with mode: 0644]
src/pkg/runtime/windows/thread.c
src/pkg/time/sys.go