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 16// @ts-ignore 17import exp from 'constants'; 18 19export class SearchFuncBean { 20 depth: number | undefined; // 0 21 dur: number | undefined; // 570000 22 funName: string | undefined; //"binder transaction" 23 id: number | undefined; // 92749 24 startTime: number | undefined; // 9729867000 25 tid: number | undefined; // 26 pid: number | undefined; // 2785 27 type: string | undefined; 28} 29 30export class SearchThreadProcessBean { 31 type: string | undefined; 32 rowId: string | undefined | null; 33 name: string | undefined; 34 rowType: string | undefined | null; 35 rowParentId: string | undefined | null; 36} 37 38export class SearchSdkBean { 39 type: string | undefined; 40 rowId: string | undefined | null; 41 startTime: number | undefined; 42 dur: number | undefined; 43 name: string | undefined; 44 rowType: string | undefined | null; 45 rowParentId: string | undefined | null; 46} 47