aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2025-05-23 17:31:53 -0400
committerGopher Robot <gobot@golang.org>2025-05-23 14:56:40 -0700
commit68f4434df02c3d1bde5b42c9adeaf79d15858ff3 (patch)
tree5b1d340c9418b2f4da3c103b53435f3ca3886add /src/runtime
parent8b1978f6143f211e1d7ed1599c1b64e3f44a1c80 (diff)
downloadgo-68f4434df02c3d1bde5b42c9adeaf79d15858ff3.tar.xz
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>
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/trace/recorder.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/trace/recorder.go b/src/runtime/trace/recorder.go
index 78e003e2a5..bf8d7ce647 100644
--- a/src/runtime/trace/recorder.go
+++ b/src/runtime/trace/recorder.go
@@ -107,7 +107,7 @@ func traceTimeNow(freq frequency) eventTime {
}
//go:linkname runtime_traceClockNow runtime.traceClockNow
-func runtime_traceClockNow() int64
+func runtime_traceClockNow() uint64
// frequency is nanoseconds per timestamp unit.
type frequency float64