diff options
author | 2023-07-29 06:18:51 -0700 | |
---|---|---|
committer | 2023-07-29 06:18:51 -0700 | |
commit | 681be10294c19b8ce402ec44df5cd6554e2c86c0 (patch) | |
tree | d7729f1c4b2cd6f2f9e9ad45002b8fa3f44ba8fe /src/bun.js/bindings/Process.cpp | |
parent | dccf82b1c682a84c42540ba9e00e5e9296cc7e5f (diff) | |
download | bun-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.cpp | 2 |
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; |