• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (C) 2022 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16import { BaseStruct } from './BaseStruct';
17
18export class JanksStruct extends BaseStruct {
19  static hoverJankStruct: JanksStruct | undefined;
20  static selectJankStruct: JanksStruct | undefined;
21  static selectJankStructList: Array<JanksStruct> = new Array<JanksStruct>();
22  static delJankLineFlag: boolean = true;
23  id: number | undefined; // sliceid
24  ts: number | undefined;
25  dur: number | undefined;
26  name: string | undefined;
27  depth: number | undefined;
28  jank_tag: number | undefined;
29  cmdline: string | undefined; // process
30  jank_type: string | undefined;
31  type: string | undefined;
32  pid: number | undefined;
33  frame_type: string | undefined; // app、renderService、FrameTime
34  app_dur: number | undefined;
35  src_slice: string | undefined;
36  dst_slice: string | undefined;
37  rs_ts: number | undefined;
38  rs_vsync: string | undefined;
39  rs_dur: number | undefined;
40  rs_pid: number | undefined;
41  rs_name: string | undefined;
42  gpu_dur: number | undefined;
43}
44