runtime/metrics: improve doc

Polish a sentence by removing redundant "in response".

Change-Id: I232198ad904333f8eaa0c25a12824f0dcbf3cfb6
GitHub-Last-Rev: 421bfc0387
GitHub-Pull-Request: golang/go#72793
Reviewed-on: https://go-review.googlesource.com/c/go/+/656735
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Sean Liao <sean@liao.dev>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Sean Liao <sean@liao.dev>
This commit is contained in:
Qingwei Li@WSL 2025-08-19 21:47:50 +00:00 committed by Gopher Robot
parent a076f49757
commit 52c3f73fda
2 changed files with 5 additions and 5 deletions

View file

@ -126,7 +126,7 @@ var allDesc = []Description{
{ {
Name: "/cpu/classes/scavenge/assist:cpu-seconds", Name: "/cpu/classes/scavenge/assist:cpu-seconds",
Description: "Estimated total CPU time spent returning unused memory to the " + Description: "Estimated total CPU time spent returning unused memory to the " +
"underlying platform in response eagerly in response to memory pressure. " + "underlying platform in response eagerly to memory pressure. " +
"This metric is an overestimate, and not directly comparable to " + "This metric is an overestimate, and not directly comparable to " +
"system CPU time measurements. Compare only with other /cpu/classes " + "system CPU time measurements. Compare only with other /cpu/classes " +
"metrics.", "metrics.",

View file

@ -104,10 +104,10 @@ Below is the full list of supported metrics, ordered lexicographically.
/cpu/classes/scavenge/assist:cpu-seconds /cpu/classes/scavenge/assist:cpu-seconds
Estimated total CPU time spent returning unused memory to the Estimated total CPU time spent returning unused memory to the
underlying platform in response eagerly in response to memory underlying platform in response eagerly to memory pressure. This
pressure. This metric is an overestimate, and not directly metric is an overestimate, and not directly comparable to system
comparable to system CPU time measurements. Compare only with CPU time measurements. Compare only with other /cpu/classes
other /cpu/classes metrics. metrics.
/cpu/classes/scavenge/background:cpu-seconds /cpu/classes/scavenge/background:cpu-seconds
Estimated total CPU time spent performing background tasks to Estimated total CPU time spent performing background tasks to