mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
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.
This commit is contained in:
parent
f8fbf557f1
commit
24d3979ce8
10 changed files with 184 additions and 13 deletions
1
configure
vendored
1
configure
vendored
|
@ -534,6 +534,7 @@ CFG_SUBMODULES="\
|
|||
support/glfw/glfw \
|
||||
support/glfw/glfw-rs \
|
||||
platform/macos/rust-cocoa \
|
||||
platform/macos/rust-task_info \
|
||||
${CFG_SUBMODULES}"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue