1# Copyright (c) 2024 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14domain: ARKTS_RUNTIME 15 16ARK_STATS_GC: 17 __BASE: {type: STATISTIC, level: MINOR, desc: ARKTSRUNTIME GC KEY STATS, preserve: true} 18 BUNDLE_NAME: {type: STRING, desc: application bundle name} 19 PID: {type: INT32, desc: pid} 20 TID: {type: INT32, desc: tid} 21 GC_TOTAL_COUNT: {type: INT32, desc: Number of GC times in the statistical interval} 22 GC_TOTAL_TIME: {type: INT32, desc: Sum of GC total_time in the current statistical interval} 23 GC_MARK_TIME: {type: INT32, desc: Sum of mark_time of GC in the current statistical interval} 24 GC_EVACUATE_TIME: {type: INT32, desc: Sum of evacuate_time of GC in the current statistical interval} 25 GC_LONG_TIME: {type: INT32, desc: Number of long time GCs in the statistical interval} 26 GC_TOTAL_MEM_USED: {type: INT32, desc: Total memory used after GC in the current statistical interval} 27 GC_TOTAL_MEM_COMMITTED: {type: INT32, desc: Total committed memory in GC in the current statistical interval} 28 GC_ACTIVE_MEM_USED: {type: INT32, desc: Total memory usage of the young generation after GC in the statistical period} 29 GC_ACTIVE_MEM_COMMITTED: {type: INT32, desc: Total memory committed by the young generation after GC in the statistical interval} 30 GC_OLD_MEM_USED: {type: INT32, desc: Total memory usage of the old generation after GC in the statistical period} 31 GC_OLD_MEM_COMMITTED: {type: INT32, desc: Total memory committed by the old generation after GC in the statistical period} 32 GC_HUGE_MEM_USED: {type: INT32, desc: Total memory used by the Huge segment after GC in this measurement period} 33 GC_HUGE_MEM_COMMITTED: {type: INT32, desc: Total committed memory of the Huge segment after GC in this measurement period} 34 35ARK_COMPILER_LOG: 36 __BASE: {type: STATISTIC, level: MINOR, desc: ARKTSRUNTIME AOT COMPILER KEY STATS, preserve: true} 37 BUNDLE_NAME: {type: STRING, desc: application bundle name} 38 PGO_FILE_PATH: {type: STRING, desc: application pgo file path} 39 AOT_FILE_PATH: {type: STRING, desc: application aot file path} 40 COMPILER_TIME: {type: FLOAT, desc: compiler total time} 41 IS_LITECG: {type: BOOL, desc: codegen type is litecg} 42 COMPILER_METHOD_COUNT: {type: UINT32, desc: compiler method count} 43 PGO_FILE_LEGAL: {type: BOOL, desc: pgo file is legal} 44 45ARK_STATS_JIT: 46 __BASE: {type: STATISTIC, level: MINOR, desc: ARKTSRUNTIME JIT COMPILER KEY STATS, preserve: true} 47 BUNDLE_NAME: {type: STRING, desc: Application bundle name} 48 PID: {type: INT32, desc: pid} 49 TIME_INTERVAL: {type: INT32, desc: Interval for reporting the event} 50 TOTAL_BASELINE_JIT_TIMES: {type: INT32, desc: Number of baseline JIT triggering times within this period} 51 TOTAL_FASTOPT_JIT_TIMES: {type: INT32, desc: Number of fast optimization JIT triggering times within this period} 52 TOTAL_TIME_ON_MAIN_THREAD: {type: INT32, desc: The total time occupied by JIT on the main thread within this period} 53 TOTAL_TIME_ON_JIT_THREAD: {type: INT32, desc: The total time occupied on the JIT thread within this period} 54 TOTAL_TIME_ON_HOLD_LOCK: {type: INT32, desc: Total lock holding time within this period} 55 MAX_TIME_ON_HOLD_LOCK: {type: INT32, desc: Maximum lock holding time within this period} 56 LONG_TIME_OF_HOLD_LOCK: {type: INT32, desc: Times of long-time lock holding within this period} 57 UNINSTALL_TIME: {type: INT32, desc: JIT deoptimizer times within this period} 58 59ARK_BLOCKUI_JIT: 60 __BASE: {type: STATISTIC, level: MINOR, desc: ARKTSRUNTIME JIT COMPILER BLOCKUI EVENT, preserve: true} 61 BUNDLE_NAME: {type: STRING, desc: Application bundle name} 62 PID: {type: INT32, desc: pid} 63 JIT_TYPE: {type: STRING, desc: Triggered jit type} 64 JIT_FUNCTION_NAME: {type: STRING, desc: JIT compiled function name} 65 TIME_ON_MAIN_THREAD: {type: INT32, desc: The time occupied by JIT on the main thread} 66 TIME_ON_JIT_THREAD: {type: INT32, desc: The time occupied on JIT thread}