diff --git a/api/@ohos.hichecker.d.ts b/api/@ohos.hichecker.d.ts index 55293cb08c16a01a8602167d82288ecec9c7014e..d35c364c5e4e243fe81733b75311f1adc6d20bb8 100644 --- a/api/@ohos.hichecker.d.ts +++ b/api/@ohos.hichecker.d.ts @@ -73,7 +73,7 @@ declare namespace hichecker { /** * get added rule - * @return all added thread rule and process rule. + * @returns all added thread rule and process rule. * @since 8 * @syscap SystemCapability.HiviewDFX.HiChecker */ @@ -82,7 +82,7 @@ declare namespace hichecker { /** * whether the query rule is added * @param rule - * @return the result of whether the query rule is added. + * @returns the result of whether the query rule is added. * @since 8 * @deprecated since 9 * @useinstead ohos.hichecker/hichecker#containsCheckRule @@ -111,7 +111,7 @@ declare namespace hichecker { /** * Whether the query rule is added * @param rule - * @return the result of whether the query rule is added. + * @returns the result of whether the query rule is added. * @since 9 * @syscap SystemCapability.HiviewDFX.HiChecker * @throws { BusinessError } 401 - the parameter check failed diff --git a/api/@ohos.hidebug.d.ts b/api/@ohos.hidebug.d.ts index cd2f7bba540dbb11de456f27f9236bc5ee2869e7..6eea60cce99e343f107663f99d920555081fa2ac 100644 --- a/api/@ohos.hidebug.d.ts +++ b/api/@ohos.hidebug.d.ts @@ -25,7 +25,7 @@ declare namespace hidebug { /** * Get total native heap memory size * @param - - * @return Returns total native heap memory size. + * @returns Returns total native heap memory size. * @since 8 * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug */ @@ -34,7 +34,7 @@ declare namespace hidebug { /** * Get Native heap memory allocation size. * @param - - * @return Returns native heap memory allocation size. + * @returns Returns native heap memory allocation size. * @since 8 * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug */ @@ -43,7 +43,7 @@ declare namespace hidebug { /** * Get Native heap memory free size * @param - - * @return Returns native heap memory free size. + * @returns Returns native heap memory free size. * @since 8 * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug */ @@ -52,7 +52,7 @@ declare namespace hidebug { /** * Get application process proportional set size memory information * @param - - * @return Returns application process proportional set size memory information. + * @returns Returns application process proportional set size memory information. * @since 8 * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug */ @@ -61,7 +61,7 @@ declare namespace hidebug { /** * Obtains the size of the shared dirty memory of a process. * @param - - * @return Returns the size of the shared dirty memory. + * @returns Returns the size of the shared dirty memory. * @since 8 * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug */ @@ -70,7 +70,7 @@ declare namespace hidebug { /** * Obtains the size of the private dirty memory of a process. * @param - - * @return Returns the size of the private dirty memory. + * @returns Returns the size of the private dirty memory. * @since 9 * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug */ @@ -79,7 +79,7 @@ declare namespace hidebug { /** * Obtains the cpu usage percent of a process. * @param - - * @return Returns the cpu usage of a process. + * @returns Returns the cpu usage of a process. * @since 9 * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug */ @@ -92,7 +92,7 @@ declare namespace hidebug { * Such as "/data/accounts/account_0/appdata/[package name]/files/cpuprofiler-xxx.json" * * @param filename Indicates the user-defined file name, excluding the file suffix. - * @return - + * @returns - * @since 8 * @deprecated since 9 * @useinstead ohos.hidebug/hidebug.startJsCpuProfiling @@ -105,7 +105,7 @@ declare namespace hidebug { * It takes effect only when the CPU profiler is turned on * * @param - - * @return - + * @returns - * @since 8 * @deprecated since 9 * @useinstead ohos.hidebug/hidebug.stopJsCpuProfiling @@ -120,7 +120,7 @@ declare namespace hidebug { * Such as "/data/accounts/account_0/appdata/[package name]/files/xxx.heapsnapshot" * * @param filename Indicates the user-defined file name, excluding the file suffix. - * @return - + * @returns - * @since 8 * @deprecated since 9 * @useinstead ohos.hidebug/hidebug.dumpJsHeapData @@ -135,7 +135,7 @@ declare namespace hidebug { * * @param filename Indicates the user-defined file name, excluding the file suffix. * @throws {BusinessError} 401 - the parameter check failed - * @return - + * @returns - * @since 9 * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug */ @@ -146,7 +146,7 @@ declare namespace hidebug { * It takes effect only when the CPU profiler is turned on * * @param - - * @return - + * @returns - * @since 9 * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug */ @@ -159,7 +159,7 @@ declare namespace hidebug { * * @param filename Indicates the user-defined file name, excluding the file suffix. * @throws {BusinessError} 401 - the parameter check failed - * @return - + * @returns - * @since 9 * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug */ @@ -174,7 +174,7 @@ declare namespace hidebug { * @param args The args list of the system ability dump interface. * @throws {BusinessError} 401 - the parameter check failed * @throws {BusinessError} 11400101 - the service id is invalid - * @return - + * @returns - * @permission ohos.permission.DUMP * @since 9 * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug