From 5e3a8feb7dec94a14cf840182c3153e8e3f99b2d Mon Sep 17 00:00:00 2001 From: Zhengfa Dang Date: Tue, 2 Jan 2024 15:08:21 +0800 Subject: [PATCH] Update README.md --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 016dc75..289db07 100644 --- a/README.md +++ b/README.md @@ -76,11 +76,15 @@ or # Explanation: -Total memory is fetched from host_info. +Total memory is fetched from host_info(). `https://developer.apple.com/documentation/kernel/1502514-host_info` -All other memory information is fetched from host_statistics64. +Swap information is fetched from sysctl(). + +`https://forums.macrumors.com/threads/sysctl-and-ctl_vm.145571/` + +All other memory information is fetched from host_statistics64(). `https://developer.apple.com/documentation/kernel/1502863-host_statistics64`