github.com/ltltlt/go-source-code@v0.0.0-20190830023027-95be009773aa/runtime/timeasm.go (about) 1 // Copyright 2017 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 // Declarations for operating systems implementing time.now directly in assembly. 6 // Those systems are also expected to have nanotime subtract startNano, 7 // so that time.now and nanotime return the same monotonic clock readings. 8 9 // +build darwin,amd64 darwin,386 windows 10 11 package runtime 12 13 import _ "unsafe" 14 15 //go:linkname time_now time.now 16 func time_now() (sec int64, nsec int32, mono int64)