Source File
timestub.go
Belonging Package
runtime
// Copyright 2017 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Declarations for operating systems implementing time.now
// indirectly, in terms of walltime and nanotime assembly.
// +build !windows
package runtime
import _ // for go:linkname
//go:linkname time_now time.now
func () ( int64, int32, int64) {
, = walltime()
return , , nanotime()
}