1020a203aSopenharmony_ci# Copyright (c) 2021-2023 Huawei Device Co., Ltd. 2020a203aSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 3020a203aSopenharmony_ci# you may not use this file except in compliance with the License. 4020a203aSopenharmony_ci# You may obtain a copy of the License at 5020a203aSopenharmony_ci# 6020a203aSopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 7020a203aSopenharmony_ci# 8020a203aSopenharmony_ci# Unless required by applicable law or agreed to in writing, software 9020a203aSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 10020a203aSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11020a203aSopenharmony_ci# See the License for the specific language governing permissions and 12020a203aSopenharmony_ci# limitations under the License. 13020a203aSopenharmony_ci 14020a203aSopenharmony_cidomain: PERFORMANCE 15020a203aSopenharmony_ci 16020a203aSopenharmony_ciAPP_START: 17020a203aSopenharmony_ci __BASE: {type: BEHAVIOR, level: MINOR, desc: app start} 18020a203aSopenharmony_ci APP_PID: {type: INT32, desc: app pid} 19020a203aSopenharmony_ci VERSION_CODE: {type: INT32, desc: version code} 20020a203aSopenharmony_ci VERSION_NAME: {type: STRING, desc: version name} 21020a203aSopenharmony_ci PROCESS_NAME: {type: STRING, desc: process name} 22020a203aSopenharmony_ci BUNDLE_NAME: {type: STRING, desc: bundle name} 23020a203aSopenharmony_ci ABILITY_NAME: {type: STRING, desc: ability name} 24020a203aSopenharmony_ci PAGE_URL: {type: STRING, desc: page url} 25020a203aSopenharmony_ci SCENE_ID: {type: STRING, desc: interaction scene id} 26020a203aSopenharmony_ci START_TYPE: {type: INT32, desc: start type} 27020a203aSopenharmony_ci SOURCE_TYPE: {type: STRING, desc: input source type} 28020a203aSopenharmony_ci INPUT_TIME: {type: UINT64, desc: input time when multimodel receive from kernel} 29020a203aSopenharmony_ci RESPONSE_LATENCY: {type: UINT64, desc: click app icon to launcher animation time} 30020a203aSopenharmony_ci LAUN_TO_START_ABILITY_DUR: {type: UINT64, desc: launcher to start ability time} 31020a203aSopenharmony_ci STARTABILITY_PROCESSSTART_DUR: {type: UINT64, desc: start ability to process start time from ams} 32020a203aSopenharmony_ci PROCESSSTART_TO_APPATTACH_DUR: {type: UINT64, desc: app process start to app attach time from ams} 33020a203aSopenharmony_ci APPATTACH_TO_APPFOREGROUND_DUR: {type: UINT64, desc: app attach to foreground time from ams} 34020a203aSopenharmony_ci STARTABILITY_APPFOREGROUND_DUR: {type: UINT64, desc: start ability to app foreground time from ams} 35020a203aSopenharmony_ci APPFOREGR_ABILITYONFOREGR_DUR: {type: UINT64, desc: app foreground to ability onforeground time from ams} 36020a203aSopenharmony_ci ABILITYONFOREG_STARTWINDOW_DUR: {type: UINT64, desc: ability onforeground to start window time} 37020a203aSopenharmony_ci DRAWN_LATENCY: {type: UINT64, desc: page drawn whole time} 38020a203aSopenharmony_ci FIRST_FRAEM_DRAWN_LATENCY: {type: UINT64, desc: first frame draw completed time} 39020a203aSopenharmony_ci ANIMATION_LATENCY: {type: UINT64, desc: animation completed time} 40020a203aSopenharmony_ci E2E_LATENCY: {type: UINT64, desc: end to end time} 41020a203aSopenharmony_ci 42020a203aSopenharmony_ciAPP_START_SLOW: 43020a203aSopenharmony_ci __BASE: { type: BEHAVIOR, level: MINOR, desc: app start } 44020a203aSopenharmony_ci APP_PID: { type: INT32, desc: app pid } 45020a203aSopenharmony_ci VERSION_CODE: { type: INT32, desc: version code } 46020a203aSopenharmony_ci VERSION_NAME: { type: STRING, desc: version name } 47020a203aSopenharmony_ci PROCESS_NAME: { type: STRING, desc: process name } 48020a203aSopenharmony_ci BUNDLE_NAME: { type: STRING, desc: bundle name } 49020a203aSopenharmony_ci ABILITY_NAME: { type: STRING, desc: ability name } 50020a203aSopenharmony_ci PAGE_URL: { type: STRING, desc: page url } 51020a203aSopenharmony_ci SCENE_ID: { type: STRING, desc: interaction scene id } 52020a203aSopenharmony_ci START_TYPE: { type: INT32, desc: start type } 53020a203aSopenharmony_ci SOURCE_TYPE: { type: STRING, desc: input source type } 54020a203aSopenharmony_ci INPUT_TIME: { type: UINT64, desc: input time when multimodel receive from kernel } 55020a203aSopenharmony_ci RESPONSE_LATENCY: { type: UINT64, desc: click app icon to launcher animation time } 56020a203aSopenharmony_ci LAUN_TO_START_ABILITY_DUR: { type: UINT64, desc: launcher to start ability time } 57020a203aSopenharmony_ci STARTABILITY_PROCESSSTART_DUR: { type: UINT64, desc: start ability to process start time from ams } 58020a203aSopenharmony_ci PROCESSSTART_TO_APPATTACH_DUR: { type: UINT64, desc: app process start to app attach time from ams } 59020a203aSopenharmony_ci APPATTACH_TO_APPFOREGROUND_DUR: { type: UINT64, desc: app attach to foreground time from ams } 60020a203aSopenharmony_ci STARTABILITY_APPFOREGROUND_DUR: { type: UINT64, desc: start ability to app foreground time from ams } 61020a203aSopenharmony_ci APPFOREGR_ABILITYONFOREGR_DUR: { type: UINT64, desc: app foreground to ability onforeground time from ams } 62020a203aSopenharmony_ci ABILITYONFOREG_STARTWINDOW_DUR: { type: UINT64, desc: ability onforeground to start window time } 63020a203aSopenharmony_ci DRAWN_LATENCY: { type: UINT64, desc: page drawn whole time } 64020a203aSopenharmony_ci FIRST_FRAEM_DRAWN_LATENCY: { type: UINT64, desc: first frame draw completed time } 65020a203aSopenharmony_ci ANIMATION_LATENCY: { type: UINT64, desc: animation completed time } 66020a203aSopenharmony_ci E2E_LATENCY: { type: UINT64, desc: end to end time } 67020a203aSopenharmony_ci TRACE_NAME: { type: STRING, desc: trace file name } 68020a203aSopenharmony_ci INFO_FILE: { type: STRING, desc: info file name } 69020a203aSopenharmony_ci 70020a203aSopenharmony_ciINTERACTION_JANK: 71020a203aSopenharmony_ci __BASE: {type: BEHAVIOR, level: MINOR, desc: interaction jank statistics} 72020a203aSopenharmony_ci APP_PID: {type: INT32, desc: app pid} 73020a203aSopenharmony_ci VERSION_CODE: {type: INT32, desc: version code} 74020a203aSopenharmony_ci VERSION_NAME: {type: STRING, desc: version name} 75020a203aSopenharmony_ci BUNDLE_NAME: {type: STRING, desc: package name} 76020a203aSopenharmony_ci PROCESS_NAME: {type: STRING, desc: process name} 77020a203aSopenharmony_ci ABILITY_NAME: {type: STRING, desc: ability name} 78020a203aSopenharmony_ci PAGE_URL: {type: STRING, desc: page url} 79020a203aSopenharmony_ci SCENE_ID: {type: STRING, desc: interaction scene id} 80020a203aSopenharmony_ci STARTTIME: {type: UINT64, desc: interaction scene begin time} 81020a203aSopenharmony_ci DURATION: {type: UINT64, desc: interaction duration} 82020a203aSopenharmony_ci TOTAL_APP_FRAMES: {type: INT32, desc: total app frames during the scene} 83020a203aSopenharmony_ci TOTAL_APP_MISSED_FRAMES: {type: INT32, desc: total missed frames during the scene} 84020a203aSopenharmony_ci MAX_APP_FRAMETIME: {type: UINT64, desc: max single frame time during the scene} 85020a203aSopenharmony_ci MAX_APP_SEQ_MISSED_FRAMES: {type: INT32, desc: max successive missed frames during the scene} 86020a203aSopenharmony_ci TOTAL_RENDER_FRAMES: {type: INT32, desc: total render frames during the scene} 87020a203aSopenharmony_ci TOTAL_RENDER_MISSED_FRAMES: {type: INT32, desc: total missed frames during the scene} 88020a203aSopenharmony_ci MAX_RENDER_FRAMETIME: {type: UINT64, desc: max single frame time during the scene} 89020a203aSopenharmony_ci AVERAGE_RENDER_FRAMETIME: {type: FLOAT, desc: average frame time during the scene} 90020a203aSopenharmony_ci MAX_RENDER_SEQ_MISSED_FRAMES: {type: INT32, desc: max successive missed frames during the scene} 91020a203aSopenharmony_ci IS_FOLD_DISP: {type: BOOL, desc: default false and set true if fold screen in expand state} 92020a203aSopenharmony_ci BUNDLE_NAME_EX: {type: STRING, desc: real package name when sceneboard start app} 93020a203aSopenharmony_ci IS_FOCUS: {type: BOOL, desc: set ture if app is in focus currently} 94020a203aSopenharmony_ci DISPLAY_ANIMATOR: {type: BOOL, desc: display animator or not} 95020a203aSopenharmony_ci 96020a203aSopenharmony_ciINTERACTION_JANK_FAULT: 97020a203aSopenharmony_ci __BASE: { type: BEHAVIOR, level: MINOR, desc: interaction jank statistics } 98020a203aSopenharmony_ci APP_PID: { type: INT32, desc: app pid } 99020a203aSopenharmony_ci VERSION_CODE: { type: INT32, desc: version code } 100020a203aSopenharmony_ci VERSION_NAME: { type: STRING, desc: version name } 101020a203aSopenharmony_ci BUNDLE_NAME: { type: STRING, desc: package name } 102020a203aSopenharmony_ci PROCESS_NAME: { type: STRING, desc: process name } 103020a203aSopenharmony_ci ABILITY_NAME: { type: STRING, desc: ability name } 104020a203aSopenharmony_ci PAGE_URL: { type: STRING, desc: page url } 105020a203aSopenharmony_ci SCENE_ID: { type: STRING, desc: interaction scene id } 106020a203aSopenharmony_ci STARTTIME: { type: UINT64, desc: interaction scene begin time } 107020a203aSopenharmony_ci DURATION: { type: UINT64, desc: interaction duration } 108020a203aSopenharmony_ci TOTAL_APP_FRAMES: { type: INT32, desc: total app frames during the scene } 109020a203aSopenharmony_ci TOTAL_APP_MISSED_FRAMES: { type: INT32, desc: total missed frames during the scene } 110020a203aSopenharmony_ci MAX_APP_FRAMETIME: { type: UINT64, desc: max single frame time during the scene } 111020a203aSopenharmony_ci MAX_APP_SEQ_MISSED_FRAMES: { type: INT32, desc: max successive missed frames during the scene } 112020a203aSopenharmony_ci TOTAL_RENDER_FRAMES: { type: INT32, desc: total render frames during the scene } 113020a203aSopenharmony_ci TOTAL_RENDER_MISSED_FRAMES: { type: INT32, desc: total missed frames during the scene } 114020a203aSopenharmony_ci MAX_RENDER_FRAMETIME: { type: UINT64, desc: max single frame time during the scene } 115020a203aSopenharmony_ci AVERAGE_RENDER_FRAMETIME: { type: FLOAT, desc: average frame time during the scene } 116020a203aSopenharmony_ci MAX_RENDER_SEQ_MISSED_FRAMES: { type: INT32, desc: max successive missed frames during the scene } 117020a203aSopenharmony_ci IS_FOLD_DISP: { type: BOOL, desc: default false and set true if fold screen in expand state } 118020a203aSopenharmony_ci TRACE_NAME: { type: STRING, desc: trace file name } 119020a203aSopenharmony_ci INFO_FILE: { type: STRING, desc: info file name } 120020a203aSopenharmony_ci BUNDLE_NAME_EX: { type: STRING, desc: real package name when sceneboard start app } 121020a203aSopenharmony_ci IS_FOCUS: { type: BOOL, desc: set ture if app is in focus currently } 122020a203aSopenharmony_ci DISPLAY_ANIMATOR: { type: BOOL, desc: display animator or not } 123020a203aSopenharmony_ci HAPPEN_TIME: { type: UINT64, desc: happen time }