• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_GC_LONG_TIME:
46  __BASE: {type: BEHAVIOR, level: CRITICAL, tag: GC, desc: Long time GC event, preserve: true}
47  BUNDLE_NAME: {type: STRING, desc: bundleName}
48  VERSION_CODE: {type: STRING, desc: VERSION CODE}
49  PID: {type: INT8, desc: pid}
50  TID: {type: INT8, desc: TID of JSVM}
51  GC_TYPE: {type: INT8, desc: GC TYPE}
52  GC_REASON: {type: INT8, desc: GC REASON}
53  GC_IS_SENSITIVE: {type: INT8, desc: GC IS IN SENSITIVE OR NOT}
54  GC_IS_INBACKGROUND: {type: INT8, desc: GC IS INBACKGROUND OR NOT}
55  GC_TOTAL_TIME: {type: FLOAT, desc: GC TOTAL TIME}
56  GC_MARK_TIME: {type: FLOAT, desc: GC MARK TIME}
57  GC_EVACUATE_TIME: {type: FLOAT, desc: GC EVACUATE TIME}
58  GC_UPDATE_ROOT_TIME: {type: FLOAT, desc: GC UPDATE ROOT TIME}
59  GC_UPDATE_WEEKREF_TIME: {type: FLOAT, desc: GC UPDATE WEEKREF TIME}
60  GC_UPDATE_REFERENCE_TIME: {type: FLOAT, desc: GC UPDATE REFERENCE TIME}
61  GC_SWEEPNEWTOOLD_TIME: {type: FLOAT, desc: GC SWEEP TIME}
62  GC_FINALIZE_TIME: {type: FLOAT, desc: GC FINALIZE TIME}
63  GC_INVOKE_CALLBACK_TIME: {type: FLOAT, desc: GC INVOKE CALLBACK TIME}
64  BEFORE_GC_TOTAL_MEM_USED: {type: INT32, desc: TOTAL MEM USED BEFORE GC}
65  BEFORE_GC_TOTAL_MEM_COMMITTED: {type: INT32, desc: BEFORE GC TOTAL MEM COMMITTED}
66  BEFORE_GC_ACTIVE_MEM_USED: {type: INT32, desc: BEFORE GC ACTIVE MEM USED}
67  BEFORE_GC_ACTIVE_MEM_COMMITTED: {type: INT32, desc: BEFORE GC ACTIVE MEM COMMITTED}
68  BEFORE_GC_OLD_MEM_USED: {type: INT32, desc: BEFORE GC OLD MEM USED}
69  BEFORE_GC_OLD_MEM_COMMITTED: {type: INT32, desc: BEFORE GC OLD MEM COMMITTED}
70  BEFORE_GC_HUGE_MEM_USED: {type: INT32, desc: BEFORE GC HUGE MEM USED}
71  BEFORE_GC_HUGE_MEM_COMMITTED: {type: INT32, desc: BEFORE GC HUGE MEM COMMITTED}
72  BEFORE_GC_NATIVE_BINDING_SIZE: {type: INT32, desc: BEFORE GC NATIVE BINDING SIZE}
73  BEFORE_GC_NATIVE_LIMIT: {type: INT32, desc: BEFORE GC NATIVE LIMIT}
74  AFTER_GC_TOTAL_MEM_USED: {type: INT32, desc: AFTER GC TOTAL MEM USED}
75  AFTER_GC_TOTAL_MEM_COMMITTED: {type: INT32, desc: AFTER GC TOTAL MEM COMMITTED}
76  AFTER_GC_ACTIVE_MEM_USED: {type: INT32, desc: AFTER GC ACTIVE MEM USED}
77  AFTER_GC_ACTIVE_MEM_COMMITTED: {type: INT32, desc: AFTER GC ACTIVE MEM COMMITTED}
78  AFTER_GC_OLD_MEM_USED: {type: INT32, desc: AFTER GC OLD MEM USED}
79  AFTER_GC_OLD_MEM_COMMITTED: {type: INT32, desc: AFTER GC OLD MEM COMMITTED}
80  AFTER_GC_HUGE_MEM_USED: {type: INT32, desc: AFTER GC HUGE MEM USED}
81  AFTER_GC_HUGE_MEM_COMMITTED: {type: INT32, desc: AFTER GC HUGE MEM COMMITTED}
82  AFTER_GC_NATIVE_BINDING_SIZE: {type: INT32, desc: AFTER GC NATIVE BINDING SIZE}
83  AFTER_GC_NATIVE_LIMIT: {type: INT32, desc: AFTER GC NATIVE LIMIT}
84  CPU_LOAD: {type: DOUBLE, desc: CPU LOAD}
85
86ARK_STATS_JIT:
87  __BASE: {type: STATISTIC, level: MINOR, desc: ARKTSRUNTIME JIT COMPILER KEY STATS, preserve: true}
88  BUNDLE_NAME: {type: STRING, desc: Application bundle name}
89  PID: {type: INT32, desc: pid}
90  TIME_INTERVAL: {type: INT32, desc: Interval for reporting the event}
91  TOTAL_BASELINE_JIT_TIMES: {type: INT32, desc: Number of baseline JIT triggering times within this period}
92  TOTAL_FASTOPT_JIT_TIMES: {type: INT32, desc: Number of fast optimization JIT triggering times within this period}
93  TOTAL_TIME_ON_MAIN_THREAD: {type: INT32, desc: The total time occupied by JIT on the main thread within this period}
94  TOTAL_TIME_ON_JIT_THREAD: {type: INT32, desc: The total time occupied on the JIT thread within this period}
95  TOTAL_TIME_ON_HOLD_LOCK: {type: INT32, desc: Total lock holding time within this period}
96  MAX_TIME_ON_HOLD_LOCK: {type: INT32, desc: Maximum lock holding time within this period}
97  LONG_TIME_OF_HOLD_LOCK: {type: INT32, desc: Times of long-time lock holding within this period}
98  UNINSTALL_TIME: {type: INT32, desc: JIT deoptimizer times within this period}
99
100ARK_BLOCKUI_JIT:
101  __BASE: {type: STATISTIC, level: MINOR, desc: ARKTSRUNTIME JIT COMPILER BLOCKUI EVENT, preserve: true}
102  BUNDLE_NAME: {type: STRING, desc: Application bundle name}
103  PID: {type: INT32, desc: pid}
104  JIT_TYPE: {type: STRING, desc: Triggered jit type}
105  JIT_FUNCTION_NAME: {type: STRING, desc: JIT compiled function name}
106  TIME_ON_MAIN_THREAD: {type: INT32, desc: The time occupied by JIT on the main thread}
107  TIME_ON_JIT_THREAD: {type: INT32, desc: The time occupied on JIT thread}