runtime/trace: match traceClockNow types

runtime.traceClockNow returns a (named) uint64. Make the declaration in
runtime/trace match this type.

Change-Id: I6a6a636ce3596cbc6fc5bac3590703b7b4839c4d
Reviewed-on: https://go-review.googlesource.com/c/go/+/675976
Reviewed-by: Carlos Amedee <carlos@golang.org>
Auto-Submit: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
Michael Pratt 2025-05-23 17:31:53 -04:00 committed by Gopher Robot
parent 8b1978f614
commit 68f4434df0

View file

@ -107,7 +107,7 @@ func traceTimeNow(freq frequency) eventTime {
} }
//go:linkname runtime_traceClockNow runtime.traceClockNow //go:linkname runtime_traceClockNow runtime.traceClockNow
func runtime_traceClockNow() int64 func runtime_traceClockNow() uint64
// frequency is nanoseconds per timestamp unit. // frequency is nanoseconds per timestamp unit.
type frequency float64 type frequency float64