Return the total number bytes in pages marked as Private Dirty. * * Note: depending on the platform and memory footprint of the process, this * call can be slow, exceeding 1000ms! */
| 631 | * call can be slow, exceeding 1000ms! |
| 632 | */ |
| 633 | size_t zmalloc_get_private_dirty(long pid) { |
| 634 | return zmalloc_get_smap_bytes_by_field("Private_Dirty:",pid); |
| 635 | } |
| 636 | |
| 637 | /* Returns the size of physical memory (RAM) in bytes. |
| 638 | * It looks ugly, but this is the cleanest way to achieve cross platform results. |
no test coverage detected