aboutsummaryrefslogtreecommitdiffstats
path: root/src/platform/macos/rust-task_info/task_basic_info.rs
Commit message (Collapse)AuthorAgeFilesLines
* Cargoify servoJack Moffitt2014-09-081-55/+0
|
* Upgrade Rust.Jack Moffitt2014-08-021-1/+1
|
* Add a `task_info` crate and a `task_basic_info` module within it.Nicholas Nethercote2014-07-081-0/+55
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.