|
Tizen Native API
10.0
|
runtime_memory_info_s Struct Reference
Public Attributes | |
| int | total |
| int | used |
| int | free |
| int | cache |
| int | swap |
Detailed Description
Structure for memory information.
- Since :
- 2.4
This structure provides comprehensive memory usage information collected from /proc/meminfo. The memory values are reported in kibibytes (KiB) where 1 KiB = 1024 bytes.
The memory metrics:
total:Total physical memory (MemTotal field from /proc/meminfo)used:Actually used memory, calculated as (total - available) when MemAvailable is available, otherwise (total - free - cache) when MemAvailable is not availablefree:Completely unused memory that can be allocated immediately (MemFree field)cache:Memory used for file system cache and buffers (Cached field)swap:Used swap space on disk, calculated as (SwapTotal - SwapFree)
Member Data Documentation
Cache memory (KiB)
Free memory (KiB)
Swap memory (KiB)
Total memory (KiB)
Used memory (KiB)