|
Tizen Native API
10.0
|
process_memory_info_s Struct Reference
Public Attributes | |
| int | vsz |
| int | rss |
| int | pss |
| int | shared_clean |
| int | shared_dirty |
| int | private_clean |
| int | private_dirty |
Detailed Description
Structure for memory information per process.
- Since :
- 2.4
This structure provides detailed memory usage information for specific processes. The information is collected from /proc/[pid]/stat and /proc/[pid]/smaps files. All values are reported in kibibytes (KiB).
Memory metrics:
vsz(Virtual Memory Size): Total virtual memory used by process, collected from /proc/[pid]/stat field 23 (virtual memory size in bytes) and converted to KiBrss(Resident Set Size): Non-swapped physical memory used by process, collected from /proc/[pid]/smaps RSS sumpss(Proportional Set Size): RSS adjusted for shared pages (each shared page's size is divided by the number of processes sharing it), collected from /proc/[pid]/smaps PSS sumshared_clean:Memory mapped to files that hasn't been modified and shared with other processes (e.g., shared libraries), collected from /proc/[pid]/smaps Shared_Clean sumshared_dirty:Memory mapped to files that has been modified and shared with other processes, collected from /proc/[pid]/smaps Shared_Dirty sumprivate_clean:Process-private memory mapped to files that hasn't been modified, collected from /proc/[pid]/smaps Private_Clean sumprivate_dirty:Process-private anonymous memory that has been modified (heap, stack, dynamically allocated memory), collected from /proc/[pid]/smaps Private_Dirty sum
Member Data Documentation
Not modified and available only to that process (KiB)
Modified and available only to that process (KiB)
Proportional set size (KiB)
Resident set size (KiB)
Not modified and mapped by other processes (KiB)
Modified and mapped by other processes (KiB)
Virtual memory size (KiB)