Skip to content

v1.2.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@2kai2kai2 2kai2kai2 released this 07 Dec 00:18
· 17 commits to main since this release

MacOS Implementation

Details:
Using <libproc.h> function proc_pidinfo(PROC_PIDTASKINFO) we get data on MacOS process resource consumption.
The function is first available starting with MacOS 10.5 (Leopard), according to the header file.

Note that proc_pid_rusage() does not include full virtual memory usage, and was thus not used in the end.