1// Copyright (c) 2024 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 14// This file is only used when you want to fast test the script in build succeed case 15 16{ 17 "events": [ 18 { 19 "head": { 20 "id": "1", 21 "name": "createProgram", 22 "type": "continual" 23 }, 24 25 "body":{ 26 "startTime": 555, 27 "endTime":666, 28 "tid": "Worker0" 29 }, 30 "additional":{ 31 "parent":"22", 32 "frequency": 1, 33 "totalTime": 73456789012 34 } 35 }, 36 { 37 "head": { 38 "id": "22", 39 "name": "hap", 40 "type": "mark" 41 }, 42 43 "body":{ 44 "startTime": 51383730339300, 45 "endTime":51460186916900, 46 "tid": "Worker0" 47 }, 48 "additional":{ 49 "markType":"history" 50 } 51 }, 52 { 53 "head": { 54 "id": "22", 55 "name": "(etsChecker) - execute hook function when build starts", 56 "type": "continual" 57 }, 58 59 "body":{ 60 "startTime": 123456789012, 61 "endTime":133456789012, 62 "tid": "Worker0" 63 }, 64 "additional":{ 65 "parent":"", 66 "frequency": 1, 67 "totalTime": 33069526400 68 } 69 }, 70 { 71 "head": { 72 "id": "33", 73 "name": "other", 74 "type": "continual" 75 }, 76 77 "body":{ 78 "startTime": 123456789012, 79 "endTime":133456789012, 80 "tid": "Worker0" 81 }, 82 "additional":{ 83 "parent":"", 84 "frequency": 1, 85 "totalTime": 33069526400 86 } 87 } 88 ] 89}