]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/trace: fix documentation comment
authorjjpinto <jorgpinto@gmail.com>
Mon, 5 Jan 2026 23:08:44 +0000 (23:08 +0000)
committerCherry Mui <cherryyz@google.com>
Thu, 8 Jan 2026 18:42:14 +0000 (10:42 -0800)
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>
src/runtime/trace/recorder.go

index a18d764141b42f24ca00d78d2983af1ff45241b2..8617231aaa10c5e15a128406c9ff84b9caef72fe 100644 (file)
@@ -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))
 }