mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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:
parent
8b1978f614
commit
68f4434df0
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue