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! */
| 619 | * call can be slow, exceeding 1000ms! |
| 620 | */ |
| 621 | size_t zmalloc_get_private_dirty(long pid) { |
| 622 | return zmalloc_get_smap_bytes_by_field("Private_Dirty:",pid); |
| 623 | } |
| 624 | |
| 625 | /* Returns the size of physical memory (RAM) in bytes. |
| 626 | * It looks ugly, but this is the cleanest way to achieve cross platform results. |
no test coverage detected