MCPcopy
hub / github.com/bnb-chain/bsc / GaugeFloat64

Interface GaugeFloat64

metrics/gauge_float64.go:9–13  ·  view source on GitHub ↗

GaugeFloat64s hold a float64 value that can be set arbitrarily.

Source from the content-addressed store, hash-verified

7
8// GaugeFloat64s hold a float64 value that can be set arbitrarily.
9type GaugeFloat64 interface {
10 Snapshot() GaugeFloat64
11 Update(float64)
12 Value() float64
13}
14
15// GetOrRegisterGaugeFloat64 returns an existing GaugeFloat64 or constructs and registers a
16// new StandardGaugeFloat64.

Callers 8

TestGaugeFloat64SnapshotFunction · 0.95
BenchmarkGaugeFloat64Function · 0.95
TestGaugeFloat64Function · 0.95
TestGaugeFloat64SnapshotFunction · 0.95
TestCollectorFunction · 0.95
TestGaugeFloat64Function · 0.95

Implementers 6

NilGaugeFloat64metrics/gauge_float64.go
StandardGaugeFloat64metrics/gauge_float64.go
FunctionalGaugeFloat64metrics/gauge_float64.go
NilGaugemetrics/gauge.go
StandardGaugemetrics/gauge.go
FunctionalGaugemetrics/gauge.go

Calls

no outgoing calls

Tested by

no test coverage detected