- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 25 for cputicks (0.12 sec)
-
src/runtime/os_linux_arm64.go
//go:build arm64 package runtime import "internal/cpu" func archauxv(tag, val uintptr) { switch tag { case _AT_HWCAP: cpu.HWCap = uint(val) } } func osArchInit() {} //go:nosplit func cputicks() int64 { // nanotime() is a poor approximation of CPU ticks that is enough for the profiler. return nanotime()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 478 bytes - Viewed (0) -
src/runtime/os_plan9_arm.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package runtime func checkgoarm() { return // TODO(minux) } //go:nosplit func cputicks() int64 { // runtime·nanotime() is a poor approximation of CPU ticks that is enough for the profiler. return nanotime()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 375 bytes - Viewed (0) -
src/runtime/os_windows_arm.go
// 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 stdcall1(_QueryPerformanceCounter, uintptr(unsafe.Pointer(&counter))) return counter } func checkgoarm() { if goarm < 7 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 20 00:23:03 UTC 2018 - 511 bytes - Viewed (0) -
src/runtime/os_netbsd_arm.go
if getncpu() > 1 && goarm < 7 { print("runtime: this system has multiple CPUs and must use\n") print("atomic synchronization instructions. Recompile using GOARM=7.\n") exit(1) } } //go:nosplit func cputicks() int64 { // runtime·nanotime() is a poor approximation of CPU ticks that is enough for the profiler. return nanotime()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 1.1K bytes - Viewed (0) -
src/runtime/os_netbsd_arm64.go
mc.__gregs[_REG_X0] = uint64(uintptr(unsafe.Pointer(mp))) mc.__gregs[_REG_X1] = uint64(uintptr(unsafe.Pointer(mp.g0))) mc.__gregs[_REG_X2] = uint64(fn) } //go:nosplit func cputicks() int64 { // runtime·nanotime() is a poor approximation of CPU ticks that is enough for the profiler. return nanotime()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 769 bytes - Viewed (0) -
src/runtime/vdso_freebsd_x86.go
_HPET_MAIN_COUNTER = 0xf0 /* Main counter register */ hpetDevPath = "/dev/hpetX\x00" ) var hpetDevMap [_HPET_DEV_MAP_MAX]uintptr //go:nosplit func (th *vdsoTimehands) getTSCTimecounter() uint32 { tsc := cputicks() if th.x86_shift > 0 { tsc >>= th.x86_shift } return uint32(tsc) } //go:nosplit func (th *vdsoTimehands) getHPETTimecounter() (uint32, bool) { idx := int(th.x86_hpet_idx)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 1.9K bytes - Viewed (0) -
src/runtime/os_linux_mipsx.go
// license that can be found in the LICENSE file. //go:build linux && (mips || mipsle) package runtime func archauxv(tag, val uintptr) { } func osArchInit() {} //go:nosplit func cputicks() int64 { // nanotime() is a poor approximation of CPU ticks that is enough for the profiler. return nanotime() } const ( _SS_DISABLE = 2 _NSIG = 128 + 1 _SIG_BLOCK = 1 _SIG_UNBLOCK = 2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 987 bytes - Viewed (0) -
src/runtime/os_freebsd_arm.go
case _AT_HWCAP: cpu.HWCap = uint(val) case _AT_HWCAP2: cpu.HWCap2 = uint(val) case _AT_PLATFORM: cpu.Platform = gostringnocopy((*byte)(unsafe.Pointer(val))) } } //go:nosplit func cputicks() int64 { // runtime·nanotime() is a poor approximation of CPU ticks that is enough for the profiler. return nanotime()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 1.4K bytes - Viewed (0) -
src/runtime/os_linux_arm.go
cpu.HWCap = uint(val) case _AT_HWCAP2: cpu.HWCap2 = uint(val) case _AT_PLATFORM: cpu.Platform = gostringnocopy((*byte)(unsafe.Pointer(val))) } } func osArchInit() {} //go:nosplit func cputicks() int64 { // nanotime() is a poor approximation of CPU ticks that is enough for the profiler. return nanotime()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 1.5K bytes - Viewed (0) -
src/runtime/os_wasm.go
throw("too many writes on closed pipe") } //go:linkname syscall_now syscall.now func syscall_now() (sec int64, nsec int32) { sec, nsec, _ = time_now() return } //go:nosplit func cputicks() int64 { // runtime·nanotime() is a poor approximation of CPU ticks that is enough for the profiler. return nanotime() } // gsignalStack is unused on js. type gsignalStack struct{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 3.2K bytes - Viewed (0)