aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorjjpinto <jorgpinto@gmail.com>2026-01-05 23:08:44 +0000
committerCherry Mui <cherryyz@google.com>2026-01-08 10:42:14 -0800
commit2bbb2ace346a26e0b1f7e32f1cdc645db8170d1c (patch)
tree62afe7b9e3058137792a4ce7842414cd3b1707b4 /src/runtime
parent6b2505c79cb3838c6e27cf47ac09980fe51c83c2 (diff)
downloadgo-2bbb2ace346a26e0b1f7e32f1cdc645db8170d1c.tar.xz
runtime/trace: fix documentation comment
Correct documentation comment for mul function Change-Id: I8b90f02bf0aaba9bb5813833d1b9dd1ebb7d71f4 GitHub-Last-Rev: e91af64af9bad9cd2574dc3dd7ed88123a288be8 GitHub-Pull-Request: golang/go#77082 Reviewed-on: https://go-review.googlesource.com/c/go/+/734100 Reviewed-by: Michael Knyszek <mknyszek@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Pratt <mpratt@google.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 a18d764141..8617231aaa 100644
--- a/src/runtime/trace/recorder.go
+++ b/src/runtime/trace/recorder.go
@@ -112,7 +112,7 @@ func runtime_traceClockNow() uint64
// frequency is nanoseconds per timestamp unit.
type frequency float64
-// mul multiplies an unprocessed to produce a time in nanoseconds.
+// mul multiplies an unprocessed timestamp to produce a time in nanoseconds.
func (f frequency) mul(t timestamp) eventTime {
return eventTime(float64(t) * float64(f))
}