From 18203027f66c8554b68c486e2315c491a02ef1d6 Mon Sep 17 00:00:00 2001 From: yuhaoqiang Date: Mon, 14 Jul 2025 09:58:55 +0800 Subject: [PATCH] =?UTF-8?q?jsDoc=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I0fbcf8c1213ebfd8b25e5d7552dd49c2ec7dd453 Signed-off-by: yuhaoqiang --- api/@ohos.hidebug.d.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/api/@ohos.hidebug.d.ts b/api/@ohos.hidebug.d.ts index 6239c4157b..d2c84ef6fa 100644 --- a/api/@ohos.hidebug.d.ts +++ b/api/@ohos.hidebug.d.ts @@ -452,12 +452,12 @@ declare namespace hidebug { function getAppNativeMemInfoAsync(): Promise; /** - * Obtains the memory information of the application process. This API is implemented by reading data from the - * /proc/{pid}/smaps_rollup and /proc/{pid}/statm node. The application memory cache is refresh every 5 minute. - * It will be force to refresh when input true of forceRefresh parameter. + * Obtains the memory information of the application process, with optional caching to improve performance. + * The cached value remains valid for 5 minutes. This API is implemented by reading data from the + * /proc/{pid}/smaps_rollup and /proc/{pid}/statm node. * - * @param { boolean } [forceRefresh] Whether forceRefresh is required when application memeory cache - * need to refresh. The default value is false. + * @param { boolean } [forceRefresh] Whether to retrieve fresh data and immediate refresh the cached value. + * The default value is false. * @returns { NativeMemInfo } Returns the memory information of the application process. * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug * @since 20 -- Gitee