diff --git a/PerformanceAnalysis/BptaDelayAnalysis/entry/src/main/ets/service/ServiceTask.ets b/PerformanceAnalysis/BptaDelayAnalysis/entry/src/main/ets/service/ServiceTask.ets new file mode 100644 index 0000000000000000000000000000000000000000..4b84130eb96cd0b8bfcc9cb435d25b23b589ca77 --- /dev/null +++ b/PerformanceAnalysis/BptaDelayAnalysis/entry/src/main/ets/service/ServiceTask.ets @@ -0,0 +1,22 @@ +/* +* Copyright (C) 2024 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. +*/ + +// [Start service_task] +export function fun1() { + for (let index = 0; index < 906666; index++) { + console.debug('fun1 index:' + index); + } +} +// [End service_task] \ No newline at end of file