MCPcopy Create free account
hub / github.com/apache/brpc / operator()

Method operator()

src/bvar/default_variables.cpp:259–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257class ProcMemoryReader {
258public:
259 bool operator()(ProcMemory* stat) const {
260 return read_proc_memory(*stat);
261 };
262 template <typename T, size_t offset>
263 static T get_field(void*) {
264 static int64_t pagesize = getpagesize();

Callers

nothing calls this directly

Calls 1

read_proc_memoryFunction · 0.85

Tested by

no test coverage detected