Interface ISystemResource
interface ISystemResource
Extends com.amazon.apmf.IStandard
Interface for creating objects of ISystemMemoryStats, ISystemLogicalCpu and
IAggregratedAppDataStorageStats.
This provides reference to the memory, cpu, and app’s storage stats.
For an app to get the system’s stats, it requires “com.amazon.system.privilege.stats” privilege.
Built from IKeplerResourceStatsModule::makeSystemResource().
Methods
makeSystemMemoryStats()
ISystemMemoryStats*makeSystemMemoryStats()
Returns
ISystemMemoryStats*
makeSystemLogicalCpu()
ISystemLogicalCpu*makeSystemLogicalCpu()
Returns
ISystemLogicalCpu*
object that has the system’s logical cpu stats and stats aggregated for all
logical cpus.
makeAggregratedAppDataStorageStats()
IAggregratedAppDataStorageStats*makeAggregratedAppDataStorageStats()
Returns
IAggregratedAppDataStorageStats*
object that have aggregated app’s storage stats that includes total and available
storage of app’s data folder.

