Source file src/runtime/timeasm.go
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 7 //go:build !faketime && (windows || (linux && amd64)) 8 9 package runtime 10 11 import _ "unsafe" 12 13 //go:linkname time_now time.now 14 func time_now() (sec int64, nsec int32, mono int64) 15