MCPcopy Create free account
hub / github.com/containerd/nerdctl / BlockIO

Method BlockIO

pkg/statsutil/stats.go:206–211  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

204}
205
206func (s *StatsEntry) BlockIO() string {
207 if s.IsInvalid {
208 return "--"
209 }
210 return fmt.Sprintf("%s / %s", units.HumanSizeWithPrecision(s.BlockRead, 3), units.HumanSizeWithPrecision(s.BlockWrite, 3))
211}
212
213func (s *StatsEntry) PIDs() string {
214 if s.IsInvalid {

Callers 1

RenderEntryFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected