MCPcopy Create free account
hub / github.com/apache/brpc / ProcMemory

Class ProcMemory

src/bvar/default_variables.cpp:205–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203// ==================================================
204
205struct ProcMemory {
206 long size; // total program size
207 long resident; // resident set size
208 long share; // shared pages
209 long trs; // text (code)
210 long lrs; // library
211 long drs; // data/stack
212 long dt; // dirty pages
213};
214
215static bool read_proc_memory(ProcMemory &m) {
216 m = ProcMemory();

Callers 1

read_proc_memoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected