Stay organized with collections
Save and categorize content based on your preferences.
memory_advice::DefaultMetricsProvider
Summary
Inheritance
Inherits from:
memory_advice::IMetricsProvider
Public functions
|
GetActivityManagerMemoryInfo() override
|
virtual Json::object
Get a list of memory metrics available from ActivityManager::getMemoryInfo().
|
GetActivityManagerValues() override
|
virtual Json::object
Get a list of memory metrics available from ActivityManager.
|
GetDebugValues() override
|
virtual Json::object
Get a list of memory metrics available from android.os.Debug.
|
GetMeminfoValues() override
|
virtual Json::object
Get a list of memory metrics stored in /proc/meminfo.
|
GetProcValues() override
|
virtual Json::object
Get a list of various memory metrics stored in /proc/{pid} folder.
|
GetStatusValues() override
|
virtual Json::object
Get a list of memory metrics stored in /proc/{pid}/status.
|
Public functions
GetActivityManagerMemoryInfo
virtual Json::object GetActivityManagerMemoryInfo() override
Get a list of memory metrics available from ActivityManager::getMemoryInfo().
GetActivityManagerValues
virtual Json::object GetActivityManagerValues() override
Get a list of memory metrics available from ActivityManager.
GetDebugValues
virtual Json::object GetDebugValues() override
Get a list of memory metrics available from android.os.Debug.
GetMeminfoValues
virtual Json::object GetMeminfoValues() override
Get a list of memory metrics stored in /proc/meminfo.
GetProcValues
virtual Json::object GetProcValues() override
Get a list of various memory metrics stored in /proc/{pid} folder.
GetStatusValues
virtual Json::object GetStatusValues() override
Get a list of memory metrics stored in /proc/{pid}/status.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2023-11-27 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-11-27 UTC."],[],[],null,["# memory_advice::DefaultMetricsProvider Class Reference\n\nmemory_advice::DefaultMetricsProvider\n=====================================\n\nSummary\n-------\n\n### Inheritance\n\nInherits from: [memory_advice::IMetricsProvider](/reference/games/memory-advice/classmemory/advice-1-1-i-metrics-provider)\n\n| ### Public functions ||\n|-----------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------|\n| [GetActivityManagerMemoryInfo](#classmemory__advice_1_1_default_metrics_provider_1a9a0af8e3939ad54e4cf2ee30854ebec1)`() override` | `virtual Json::object` Get a list of memory metrics available from ActivityManager::getMemoryInfo(). |\n| [GetActivityManagerValues](#classmemory__advice_1_1_default_metrics_provider_1a13176e2dedc868ab61481768e8545f39)`() override` | `virtual Json::object` Get a list of memory metrics available from ActivityManager. |\n| [GetDebugValues](#classmemory__advice_1_1_default_metrics_provider_1af29b9443b74de2c815f01170f3fcbada)`() override` | `virtual Json::object` Get a list of memory metrics available from android.os.Debug. |\n| [GetMeminfoValues](#classmemory__advice_1_1_default_metrics_provider_1a217e96bdfe104286ec51fab174f989d6)`() override` | `virtual Json::object` Get a list of memory metrics stored in /proc/meminfo. |\n| [GetProcValues](#classmemory__advice_1_1_default_metrics_provider_1ad4658acb8efc9ee0069be5204c8d8a9a)`() override` | `virtual Json::object` Get a list of various memory metrics stored in /proc/{pid} folder. |\n| [GetStatusValues](#classmemory__advice_1_1_default_metrics_provider_1a9e6242f9459bc88e5458444670d0b71c)`() override` | `virtual Json::object` Get a list of memory metrics stored in /proc/{pid}/status. |\n\nPublic functions\n----------------\n\n### GetActivityManagerMemoryInfo\n\n```text\nvirtual Json::object GetActivityManagerMemoryInfo() override\n``` \nGet a list of memory metrics available from ActivityManager::getMemoryInfo(). \n\n### GetActivityManagerValues\n\n```text\nvirtual Json::object GetActivityManagerValues() override\n``` \nGet a list of memory metrics available from ActivityManager. \n\n### GetDebugValues\n\n```text\nvirtual Json::object GetDebugValues() override\n``` \nGet a list of memory metrics available from android.os.Debug. \n\n### GetMeminfoValues\n\n```text\nvirtual Json::object GetMeminfoValues() override\n``` \nGet a list of memory metrics stored in /proc/meminfo. \n\n### GetProcValues\n\n```text\nvirtual Json::object GetProcValues() override\n``` \nGet a list of various memory metrics stored in /proc/{pid} folder. \n\n### GetStatusValues\n\n```text\nvirtual Json::object GetStatusValues() override\n``` \nGet a list of memory metrics stored in /proc/{pid}/status."]]