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

Method TextBytes

proc_statm.go:110–112  ·  view source on GitHub ↗

TextBytes returns the process of text (code) size in bytes.

()

Source from the content-addressed store, hash-verified

108
109// TextBytes returns the process of text (code) size in bytes.
110func (s ProcStatm) TextBytes() uint64 {
111 return s.Text * uint64(os.Getpagesize())
112}
113
114// DataBytes returns the process of data + stack size in bytes.
115func (s ProcStatm) DataBytes() uint64 {

Callers 1

TestTextBytesFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestTextBytesFunction · 0.64