mirror of
https://github.com/golang/go
synced 2024-11-11 19:51:37 -07:00
runtime/metrics: remove unused StopTheWorld Description field
This change removes the as-of-yet unused StopTheWorld field in the Description struct. Adding a new field to a struct is much easier than removing it, so let's save it for when we actually need it. Change-Id: I8074b8569187c1a148500575fa8a661534e875d5 Reviewed-on: https://go-review.googlesource.com/c/go/+/282632 Run-TryBot: Michael Knyszek <mknyszek@google.com> TryBot-Result: Go Bot <gobot@golang.org> Trust: Michael Knyszek <mknyszek@google.com> Reviewed-by: Michael Pratt <mpratt@google.com> Reviewed-by: Austin Clements <austin@google.com>
This commit is contained in:
parent
6598c65646
commit
8f6a9acbb3
@ -395,7 +395,6 @@ pkg runtime/metrics, type Description struct, Cumulative bool
|
||||
pkg runtime/metrics, type Description struct, Description string
|
||||
pkg runtime/metrics, type Description struct, Kind ValueKind
|
||||
pkg runtime/metrics, type Description struct, Name string
|
||||
pkg runtime/metrics, type Description struct, StopTheWorld bool
|
||||
pkg runtime/metrics, type Float64Histogram struct
|
||||
pkg runtime/metrics, type Float64Histogram struct, Buckets []float64
|
||||
pkg runtime/metrics, type Float64Histogram struct, Counts []uint64
|
||||
|
@ -46,10 +46,6 @@ type Description struct {
|
||||
//
|
||||
// This flag thus indicates whether or not it's useful to compute a rate from this value.
|
||||
Cumulative bool
|
||||
|
||||
// StopTheWorld is whether or not the metric requires a stop-the-world
|
||||
// event in order to collect it.
|
||||
StopTheWorld bool
|
||||
}
|
||||
|
||||
// The English language descriptions below must be kept in sync with the
|
||||
|
Loading…
Reference in New Issue
Block a user