aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/Process.cpp
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2023-07-29 06:18:51 -0700
committerGravatar GitHub <noreply@github.com> 2023-07-29 06:18:51 -0700
commit681be10294c19b8ce402ec44df5cd6554e2c86c0 (patch)
treed7729f1c4b2cd6f2f9e9ad45002b8fa3f44ba8fe /src/bun.js/bindings/Process.cpp
parentdccf82b1c682a84c42540ba9e00e5e9296cc7e5f (diff)
downloadbun-681be10294c19b8ce402ec44df5cd6554e2c86c0.tar.gz
bun-681be10294c19b8ce402ec44df5cd6554e2c86c0.tar.zst
bun-681be10294c19b8ce402ec44df5cd6554e2c86c0.zip
Make `bun:jsc` memoryUsage more accurate (#3876)
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
Diffstat (limited to 'src/bun.js/bindings/Process.cpp')
-rw-r--r--src/bun.js/bindings/Process.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bun.js/bindings/Process.cpp b/src/bun.js/bindings/Process.cpp
index 78f473ec2..4c684f0c0 100644
--- a/src/bun.js/bindings/Process.cpp
+++ b/src/bun.js/bindings/Process.cpp
@@ -1313,7 +1313,7 @@ JSC_DEFINE_HOST_FUNCTION(Process_functionCpuUsage,
RELEASE_AND_RETURN(throwScope, JSC::JSValue::encode(result));
}
-static int getRSS(size_t* rss)
+int getRSS(size_t* rss)
{
#if defined(__APPLE__)
mach_msg_type_number_t count;