1# Copyright (c) 2021-2023 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: PERFORMANCE 15 16APP_START: 17 __BASE: {type: BEHAVIOR, level: MINOR, desc: app start} 18 APP_PID: {type: INT32, desc: app pid} 19 VERSION_CODE: {type: INT32, desc: version code} 20 VERSION_NAME: {type: STRING, desc: version name} 21 PROCESS_NAME: {type: STRING, desc: process name} 22 BUNDLE_NAME: {type: STRING, desc: bundle name} 23 ABILITY_NAME: {type: STRING, desc: ability name} 24 PAGE_URL: {type: STRING, desc: page url} 25 SCENE_ID: {type: STRING, desc: interaction scene id} 26 START_TYPE: {type: INT32, desc: start type} 27 SOURCE_TYPE: {type: STRING, desc: input source type} 28 INPUT_TIME: {type: UINT64, desc: input time when multimodel receive from kernel} 29 RESPONSE_LATENCY: {type: UINT64, desc: click app icon to launcher animation time} 30 LAUN_TO_START_ABILITY_DUR: {type: UINT64, desc: launcher to start ability time} 31 STARTABILITY_PROCESSSTART_DUR: {type: UINT64, desc: start ability to process start time from ams} 32 PROCESSSTART_TO_APPATTACH_DUR: {type: UINT64, desc: app process start to app attach time from ams} 33 APPATTACH_TO_APPFOREGROUND_DUR: {type: UINT64, desc: app attach to foreground time from ams} 34 STARTABILITY_APPFOREGROUND_DUR: {type: UINT64, desc: start ability to app foreground time from ams} 35 APPFOREGR_ABILITYONFOREGR_DUR: {type: UINT64, desc: app foreground to ability onforeground time from ams} 36 ABILITYONFOREG_STARTWINDOW_DUR: {type: UINT64, desc: ability onforeground to start window time} 37 DRAWN_LATENCY: {type: UINT64, desc: page drawn whole time} 38 FIRST_FRAEM_DRAWN_LATENCY: {type: UINT64, desc: first frame draw completed time} 39 ANIMATION_LATENCY: {type: UINT64, desc: animation completed time} 40 E2E_LATENCY: {type: UINT64, desc: end to end time} 41 42APP_START_SLOW: 43 __BASE: { type: BEHAVIOR, level: MINOR, desc: app start } 44 APP_PID: { type: INT32, desc: app pid } 45 VERSION_CODE: { type: INT32, desc: version code } 46 VERSION_NAME: { type: STRING, desc: version name } 47 PROCESS_NAME: { type: STRING, desc: process name } 48 BUNDLE_NAME: { type: STRING, desc: bundle name } 49 ABILITY_NAME: { type: STRING, desc: ability name } 50 PAGE_URL: { type: STRING, desc: page url } 51 SCENE_ID: { type: STRING, desc: interaction scene id } 52 START_TYPE: { type: INT32, desc: start type } 53 SOURCE_TYPE: { type: STRING, desc: input source type } 54 INPUT_TIME: { type: UINT64, desc: input time when multimodel receive from kernel } 55 RESPONSE_LATENCY: { type: UINT64, desc: click app icon to launcher animation time } 56 LAUN_TO_START_ABILITY_DUR: { type: UINT64, desc: launcher to start ability time } 57 STARTABILITY_PROCESSSTART_DUR: { type: UINT64, desc: start ability to process start time from ams } 58 PROCESSSTART_TO_APPATTACH_DUR: { type: UINT64, desc: app process start to app attach time from ams } 59 APPATTACH_TO_APPFOREGROUND_DUR: { type: UINT64, desc: app attach to foreground time from ams } 60 STARTABILITY_APPFOREGROUND_DUR: { type: UINT64, desc: start ability to app foreground time from ams } 61 APPFOREGR_ABILITYONFOREGR_DUR: { type: UINT64, desc: app foreground to ability onforeground time from ams } 62 ABILITYONFOREG_STARTWINDOW_DUR: { type: UINT64, desc: ability onforeground to start window time } 63 DRAWN_LATENCY: { type: UINT64, desc: page drawn whole time } 64 FIRST_FRAEM_DRAWN_LATENCY: { type: UINT64, desc: first frame draw completed time } 65 ANIMATION_LATENCY: { type: UINT64, desc: animation completed time } 66 E2E_LATENCY: { type: UINT64, desc: end to end time } 67 TRACE_NAME: { type: STRING, desc: trace file name } 68 INFO_FILE: { type: STRING, desc: info file name } 69 70INTERACTION_JANK: 71 __BASE: {type: BEHAVIOR, level: MINOR, desc: interaction jank statistics} 72 APP_PID: {type: INT32, desc: app pid} 73 VERSION_CODE: {type: INT32, desc: version code} 74 VERSION_NAME: {type: STRING, desc: version name} 75 BUNDLE_NAME: {type: STRING, desc: package name} 76 PROCESS_NAME: {type: STRING, desc: process name} 77 ABILITY_NAME: {type: STRING, desc: ability name} 78 PAGE_URL: {type: STRING, desc: page url} 79 SCENE_ID: {type: STRING, desc: interaction scene id} 80 STARTTIME: {type: UINT64, desc: interaction scene begin time} 81 DURATION: {type: UINT64, desc: interaction duration} 82 TOTAL_APP_FRAMES: {type: INT32, desc: total app frames during the scene} 83 TOTAL_APP_MISSED_FRAMES: {type: INT32, desc: total missed frames during the scene} 84 MAX_APP_FRAMETIME: {type: UINT64, desc: max single frame time during the scene} 85 MAX_APP_SEQ_MISSED_FRAMES: {type: INT32, desc: max successive missed frames during the scene} 86 TOTAL_RENDER_FRAMES: {type: INT32, desc: total render frames during the scene} 87 TOTAL_RENDER_MISSED_FRAMES: {type: INT32, desc: total missed frames during the scene} 88 MAX_RENDER_FRAMETIME: {type: UINT64, desc: max single frame time during the scene} 89 AVERAGE_RENDER_FRAMETIME: {type: FLOAT, desc: average frame time during the scene} 90 MAX_RENDER_SEQ_MISSED_FRAMES: {type: INT32, desc: max successive missed frames during the scene} 91 IS_FOLD_DISP: {type: BOOL, desc: default false and set true if fold screen in expand state} 92 BUNDLE_NAME_EX: {type: STRING, desc: real package name when sceneboard start app} 93 IS_FOCUS: {type: BOOL, desc: set ture if app is in focus currently} 94 DISPLAY_ANIMATOR: {type: BOOL, desc: display animator or not} 95 96INTERACTION_JANK_FAULT: 97 __BASE: { type: BEHAVIOR, level: MINOR, desc: interaction jank statistics } 98 APP_PID: { type: INT32, desc: app pid } 99 VERSION_CODE: { type: INT32, desc: version code } 100 VERSION_NAME: { type: STRING, desc: version name } 101 BUNDLE_NAME: { type: STRING, desc: package name } 102 PROCESS_NAME: { type: STRING, desc: process name } 103 ABILITY_NAME: { type: STRING, desc: ability name } 104 PAGE_URL: { type: STRING, desc: page url } 105 SCENE_ID: { type: STRING, desc: interaction scene id } 106 STARTTIME: { type: UINT64, desc: interaction scene begin time } 107 DURATION: { type: UINT64, desc: interaction duration } 108 TOTAL_APP_FRAMES: { type: INT32, desc: total app frames during the scene } 109 TOTAL_APP_MISSED_FRAMES: { type: INT32, desc: total missed frames during the scene } 110 MAX_APP_FRAMETIME: { type: UINT64, desc: max single frame time during the scene } 111 MAX_APP_SEQ_MISSED_FRAMES: { type: INT32, desc: max successive missed frames during the scene } 112 TOTAL_RENDER_FRAMES: { type: INT32, desc: total render frames during the scene } 113 TOTAL_RENDER_MISSED_FRAMES: { type: INT32, desc: total missed frames during the scene } 114 MAX_RENDER_FRAMETIME: { type: UINT64, desc: max single frame time during the scene } 115 AVERAGE_RENDER_FRAMETIME: { type: FLOAT, desc: average frame time during the scene } 116 MAX_RENDER_SEQ_MISSED_FRAMES: { type: INT32, desc: max successive missed frames during the scene } 117 IS_FOLD_DISP: { type: BOOL, desc: default false and set true if fold screen in expand state } 118 TRACE_NAME: { type: STRING, desc: trace file name } 119 INFO_FILE: { type: STRING, desc: info file name } 120 BUNDLE_NAME_EX: { type: STRING, desc: real package name when sceneboard start app } 121 IS_FOCUS: { type: BOOL, desc: set ture if app is in focus currently } 122 DISPLAY_ANIMATOR: { type: BOOL, desc: display animator or not } 123 HAPPEN_TIME: { type: UINT64, desc: happen time }