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

Method operator()

src/bvar/default_variables.cpp:320–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318class LoadAverageReader {
319public:
320 bool operator()(LoadAverage* stat) const {
321 return read_load_average(*stat);
322 };
323 template <typename T, size_t offset>
324 static T get_field(void*) {
325 return *(T*)((char*)&CachedReader<LoadAverage>::get_value(

Callers

nothing calls this directly

Calls 1

read_load_averageFunction · 0.85

Tested by

no test coverage detected