1 /*
2 * Copyright (c) 2021 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 #include "base/log/ace_trace.h"
17
18 namespace OHOS::Ace {
AceTraceBegin(const char * name)19 void AceTraceBegin(const char* name) {}
AceTraceEnd()20 void AceTraceEnd() {}
AceTraceBeginCommercial(const char * name)21 void AceTraceBeginCommercial(const char* name) {}
AceTraceEndCommercial()22 void AceTraceEndCommercial() {}
AceAsyncTraceBegin(int32_t taskId,const char * name,bool isAnimationTrace)23 void AceAsyncTraceBegin(int32_t taskId, const char* name, bool isAnimationTrace) {}
AceAsyncTraceEnd(int32_t taskId,const char * name,bool isAnimationTrace)24 void AceAsyncTraceEnd(int32_t taskId, const char* name, bool isAnimationTrace) {}
AceAsyncTraceBeginCommercial(int32_t taskId,const char * name,bool isAnimationTrace)25 void AceAsyncTraceBeginCommercial(int32_t taskId, const char* name, bool isAnimationTrace) {}
AceAsyncTraceEndCommercial(int32_t taskId,const char * name,bool isAnimationTrace)26 void AceAsyncTraceEndCommercial(int32_t taskId, const char* name, bool isAnimationTrace) {}
AceCountTrace(const char * key,int32_t count)27 void AceCountTrace(const char *key, int32_t count) {}
28 } // namespace OHOS::Ace
29