MCPcopy Create free account
hub / github.com/prometheus/procfs / StatsWithoutPriority

Method StatsWithoutPriority

bcache/get.go:61–63  ·  view source on GitHub ↗

StatsWithoutPriority is a wrapper around stats(). It ignores priority_stats file, because it is expensive to read.

()

Source from the content-addressed store, hash-verified

59// StatsWithoutPriority is a wrapper around stats().
60// It ignores priority_stats file, because it is expensive to read.
61func (fs FS) StatsWithoutPriority() ([]*Stats, error) {
62 return fs.stats(false)
63}
64
65// stats retrieves bcache runtime statistics for each bcache and
66// priorityStats flag controls if we need to read priority_stats.

Callers

nothing calls this directly

Calls 1

statsMethod · 0.95

Tested by

no test coverage detected