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

Function parseThreads

nfs/parse.go:57–66  ·  view source on GitHub ↗
(v []uint64)

Source from the content-addressed store, hash-verified

55}
56
57func parseThreads(v []uint64) (Threads, error) {
58 if len(v) != 2 {
59 return Threads{}, fmt.Errorf("invalid Threads line %v", v)
60 }
61
62 return Threads{
63 Threads: v[0],
64 FullCnt: v[1],
65 }, nil
66}
67
68func parseReadAheadCache(v []uint64) (ReadAheadCache, error) {
69 if len(v) != 12 {

Callers 1

ParseServerRPCStatsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…