Home
last modified time | relevance | path

Searched refs:SysMemory (Results 1 – 7 of 7) sorted by relevance

/base/hiviewdfx/hiview/framework/native/unified_collection/collector/
Dmemory_collector_impl.cpp330 static void SetValueOfSysMemory(SysMemory& sysMemory, const std::string& attrName, int32_t value) in SetValueOfSysMemory()
332 … static std::unordered_map<std::string, std::function<void(SysMemory&, int32_t)>> assignFuncMap = { in SetValueOfSysMemory()
333 {"MemTotal", [] (SysMemory& memory, int32_t value) { in SetValueOfSysMemory()
336 {"MemFree", [] (SysMemory& memory, int32_t value) { in SetValueOfSysMemory()
339 {"MemAvailable", [] (SysMemory& memory, int32_t value) { in SetValueOfSysMemory()
342 {"ZramUsed", [] (SysMemory& memory, int32_t value) { in SetValueOfSysMemory()
345 {"SwapCached", [] (SysMemory& memory, int32_t value) { in SetValueOfSysMemory()
348 {"Cached", [] (SysMemory& memory, int32_t value) { in SetValueOfSysMemory()
372 CollectResult<SysMemory> MemoryCollectorImpl::CollectSysMemory() in CollectSysMemory()
374 CollectResult<SysMemory> result; in CollectSysMemory()
[all …]
/base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/resource/
Dmemory.h23 struct SysMemory { struct
/base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/utility/
Dmemory_collector.h32 virtual CollectResult<SysMemory> CollectSysMemory() = 0;
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/inner_include/
Dmemory_collector_impl.h31 virtual CollectResult<SysMemory> CollectSysMemory() override;
/base/hiviewdfx/hiview/framework/native/unified_collection/decorator/include/
Dmemory_decorator.h32 virtual CollectResult<SysMemory> CollectSysMemory() override;
/base/hiviewdfx/hiview/framework/native/unified_collection/decorator/
Dmemory_decorator.cpp30 CollectResult<SysMemory> MemoryDecorator::CollectSysMemory() in CollectSysMemory()
/base/hiviewdfx/hiview/test/unittest/unified_collection/utility/
Dmemory_collector_test.cpp132 CollectResult<SysMemory> data = collector->CollectSysMemory();