diff --git a/api/@ohos.hidebug.d.ts b/api/@ohos.hidebug.d.ts index 76957f11ca7bc362b7827dc2d8f33772c5ab4aa2..e6698d6a0b7c9724ec1fd6b8efc1656cfb6f8e6b 100644 --- a/api/@ohos.hidebug.d.ts +++ b/api/@ohos.hidebug.d.ts @@ -875,6 +875,15 @@ declare namespace hidebug { */ type GcStats = Record; + /** + * Obtains the memory usage of ArkTS objects in the virtual machine. + * + * @returns { bigint } Returns the memory usage of ArkTS objects. + * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug + * @since 21 + */ + function getAppVMObjectUsed(): bigint; + /** * Obtains all system GC statistics. *