1# Copyright (c) 2022 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: WORKSCHEDULER
15
16WORK_ADD:
17  __BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: add workscheduler}
18  UID: {type: INT32, desc: package uid}
19  PID: {type: INT32, desc: thread pid}
20  NAME: {type: STRING, desc: call package name}
21  WORKID: {type: STRING, desc: work id}
22  TRIGGER: {type: STRING, desc: trigger condition}
23  TYPE: {type: STRING, desc: work type}
24  INTERVAL: {type: INT32, desc: interval of work}
25
26WORK_REMOVE:
27  __BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: remove workscheduler}
28  UID: {type: INT32, desc: package uid}
29  PID: {type: INT32, desc: thread pid}
30  NAME: {type: STRING, desc: call package name}
31  WORKID: {type: STRING, desc: work id}
32
33WORK_START:
34  __BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: work start}
35  UID: {type: INT32, desc: package uid}
36  PID: {type: INT32, desc: thread pid}
37  NAME: {type: STRING, desc: call package name}
38  WORKID: {type: STRING, desc: work id}
39  TRIGGER: {type: STRING, desc: trigger condition}
40  TYPE: {type: STRING, desc: work type}
41  INTERVAL: {type: INT32, desc: interval of work}
42  DELAY_REASON: {type: STRING, desc: work delay reason}
43
44WORK_STOP:
45  __BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: alarm trigger}
46  UID: {type: INT32, desc: package uid}
47  PID: {type: INT32, desc: thread pid}
48  NAME: {type: STRING, desc: call package name}
49  WORKID: {type: STRING, desc: work id}
50  REASON: {type: INT32, desc: work stop reason}
51  DURATION: {type: INT32, desc: work running duration}
52