MCPcopy Create free account
hub / github.com/apache/impala / AddSystemInfo

Function AddSystemInfo

be/src/util/memusage-path-handlers.cc:64–67  ·  view source on GitHub ↗

Adds the system memory configuration to the rapidjson document.

Source from the content-addressed store, hash-verified

62
63/// Adds the system memory configuration to the rapidjson document.
64void AddSystemInfo(const Webserver::WebRequest& req, Document* document) {
65 Value systeminfo(MemInfo::DebugString().c_str(), document->GetAllocator());
66 document->AddMember("systeminfo", systeminfo, document->GetAllocator());
67}
68
69/// A MetricGroup is a container for a set of metric. This method extracts and adds the
70/// initialized JVM, buffer-pool and aggregated memory metrics to the rapidjson document

Callers 1

AddMemUsageCallbacksMethod · 0.85

Calls 2

DebugStringFunction · 0.50
AddMemberMethod · 0.45

Tested by

no test coverage detected