summaryrefslogtreecommitdiffstats
path: root/contrib/go/_std_1.26/src/runtime/os_windows_arm64.go
blob: 62caea7c2c6ca3d7725049dd4aba30a5ec8c6dfd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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
}