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

Method Stats

bcache/get.go:55–57  ·  view source on GitHub ↗

Stats is a wrapper around stats(). It returns full available statistics.

()

Source from the content-addressed store, hash-verified

53// Stats is a wrapper around stats().
54// It returns full available statistics.
55func (fs FS) Stats() ([]*Stats, error) {
56 return fs.stats(true)
57}
58
59// StatsWithoutPriority is a wrapper around stats().
60// It ignores priority_stats file, because it is expensive to read.

Callers 1

TestFSBcacheStatsFunction · 0.95

Calls 1

statsMethod · 0.95

Tested by 1

TestFSBcacheStatsFunction · 0.76