runtime: scan register backing store on ia64
[official-gcc.git] / libgo / go / runtime / timeasm.go
blobd5f5ea33a30fd54e03e2eff83d97d50a60c2c20d
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.
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.
9 // +build ignore
10 // +build darwin,amd64 darwin,386 windows
12 package runtime
14 import _ "unsafe"
16 //go:linkname time_now time.now
17 func time_now() (sec int64, nsec int32, mono int64)