blob: 62caea7c2c6ca3d7725049dd4aba30a5ec8c6dfd [file] [log] [blame]
// Copyright 2018 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.
package runtime
import "unsafe"
//go:nosplit
func cputicks() int64 {
var counter int64
stdcall(_QueryPerformanceCounter, uintptr(unsafe.Pointer(&counter)))
return counter
}
func stackcheck() {
// TODO: not implemented
}