From 1756f8cd1643d91da9d3cb160798fb94fb21eab4 Mon Sep 17 00:00:00 2001 From: yanmengzhao Date: Wed, 16 Feb 2022 17:36:38 +0800 Subject: [PATCH] fix hidebug ts file Signed-off-by: yanmengzhao --- api/@ohos.hidebug.d.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/api/@ohos.hidebug.d.ts b/api/@ohos.hidebug.d.ts index acf578bc4d..03ed4be67f 100644 --- a/api/@ohos.hidebug.d.ts +++ b/api/@ohos.hidebug.d.ts @@ -27,6 +27,7 @@ declare namespace hidebug { * @param - * @return Returns total native heap memory size. * @since 8 + * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug */ function getNativeHeapSize() : bigint; @@ -35,6 +36,7 @@ declare namespace hidebug { * @param - * @return Returns native heap memory allocation size. * @since 8 + * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug */ function getNativeHeapAllocatedSize() : bigint; @@ -43,6 +45,7 @@ declare namespace hidebug { * @param - * @return Returns native heap memory free size. * @since 8 + * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug */ function getNativeHeapFreeSize() : bigint; @@ -51,6 +54,7 @@ declare namespace hidebug { * @param - * @return Returns application process proportional set size memory information. * @since 8 + * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug */ function getPss() : bigint; @@ -59,6 +63,7 @@ declare namespace hidebug { * @param - * @return Returns the size of the shared dirty memory. * @since 8 + * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug */ function getSharedDirty() : bigint; @@ -71,6 +76,7 @@ declare namespace hidebug { * @param filename Indicates the user-defined file name, excluding the file suffix. * @return - * @since 8 + * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug */ function startProfiling(filename : string) : void; @@ -81,6 +87,7 @@ declare namespace hidebug { * @param - * @return - * @since 8 + * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug */ function stopProfiling() : void; @@ -93,7 +100,8 @@ declare namespace hidebug { * @param filename Indicates the user-defined file name, excluding the file suffix. * @return - * @since 8 + * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug */ function dumpHeapData(filename : string) : void; } -export default hidebug; \ No newline at end of file +export default hidebug; -- Gitee