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/BunJSCModule.h | |
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/BunJSCModule.h')
-rw-r--r-- | src/bun.js/bindings/BunJSCModule.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bun.js/bindings/BunJSCModule.h b/src/bun.js/bindings/BunJSCModule.h index 7df47a566..d2ddcf6a7 100644 --- a/src/bun.js/bindings/BunJSCModule.h +++ b/src/bun.js/bindings/BunJSCModule.h @@ -1,4 +1,7 @@ +#pragma once + #include "root.h" #include "JavaScriptCore/JSObject.h" -JSC::JSObject* createJSCModule(JSC::JSGlobalObject* globalObject);
\ No newline at end of file +JSC::JSObject* createJSCModule(JSC::JSGlobalObject* globalObject); +JSC::Structure* createMemoryFootprintStructure(JSC::VM& vm, JSC::JSGlobalObject* globalObject);
\ No newline at end of file |