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

Method operator()

src/bvar/default_variables.cpp:182–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180class ProcStatReader {
181public:
182 bool operator()(ProcStat* stat) const {
183 return read_proc_status(*stat);
184 }
185 template <typename T, size_t offset>
186 static T get_field(void*) {
187 return *(T*)((char*)&CachedReader<ProcStat>::get_value(

Callers

nothing calls this directly

Calls 1

read_proc_statusFunction · 0.85

Tested by

no test coverage detected