mozilla/servo — pull request #2786 by nnethercote (2014-07-08 01:24:48+00:00)
Title: Add a `task_info` crate and a `task_basic_info` module within it.

The crate provides an interface to the Mac-specific `task_info()`
function in general, and the module provides an interface to the
TASK_BASIC_INFO flavor. Currently only the `virtual_size` and
`resident_size` values of the `task_basic_info` struct are exposed, but
there's obvious room for expansion.

This is used to implement the -m measurements on Mac.