mirror of
https://github.com/golang/go.git
synced 2026-02-07 02:09:55 +00:00
runtime/trace: fix documentation comment
Correct documentation comment for mul function
Change-Id: I8b90f02bf0aaba9bb5813833d1b9dd1ebb7d71f4
GitHub-Last-Rev: e91af64af9
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>
This commit is contained in:
parent
6b2505c79c
commit
2bbb2ace34
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue