1
0
mirror of https://github.com/golang/go synced 2024-10-05 02:31:21 -06:00
go/src/pkg/runtime/time.goc

14 lines
309 B
Plaintext
Raw Normal View History

// Copyright 2009 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.
// Runtime implementations to help package time.
package time
#include "runtime.h"
func Nanoseconds() (ret int64) {
ret = runtime·nanotime();
}