# Copyright (c) 2022 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. domain: WORKSCHEDULER WORK_ADD: __BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: add workscheduler} UID: {type: INT32, desc: package uid} PID: {type: INT32, desc: thread pid} NAME: {type: STRING, desc: call package name} WORKID: {type: STRING, desc: work id} TRIGGER: {type: STRING, desc: trigger condition} TYPE: {type: STRING, desc: work type} INTERVAL: {type: INT32, desc: interval of work} WORK_REMOVE: __BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: remove workscheduler} UID: {type: INT32, desc: package uid} PID: {type: INT32, desc: thread pid} NAME: {type: STRING, desc: call package name} WORKID: {type: STRING, desc: work id} WORK_START: __BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: work start} UID: {type: INT32, desc: package uid} PID: {type: INT32, desc: thread pid} NAME: {type: STRING, desc: call package name} WORKID: {type: STRING, desc: work id} TRIGGER: {type: STRING, desc: trigger condition} TYPE: {type: STRING, desc: work type} INTERVAL: {type: INT32, desc: interval of work} DELAY_REASON: {type: STRING, desc: work delay reason} WORK_STOP: __BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: alarm trigger} UID: {type: INT32, desc: package uid} PID: {type: INT32, desc: thread pid} NAME: {type: STRING, desc: call package name} WORKID: {type: STRING, desc: work id} REASON: {type: INT32, desc: work stop reason} DURATION: {type: INT32, desc: work running duration}