account_os_account/dfx/hitrace_adapter/hitrace_adapter.h
chennian 6029d5a40d 部件化架构整改
Signed-off-by: chennian <chennian1@huawei.com>
Change-Id: I21f75ac834dc504a32ee93bbc79dacec374a7a7f
2023-05-09 14:19:19 +08:00

29 lines
1018 B
C++

/*
* Copyright (c) 2023 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.
*/
#ifndef OS_ACCOUNT_DFX_HITRACE_ADAPTER_H
#define OS_ACCOUNT_DFX_HITRACE_ADAPTER_H
#include <string>
namespace OHOS {
namespace AccountSA {
void StartTraceAdapter(const std::string &value);
void FinishTraceAdapter();
void CountTraceAdapter(const std::string &name, int64_t count);
void UpdateTraceLabelAdapter();
} // AccountSA
} // OHOS
#endif // OS_ACCOUNT_DFX_HITRACE_ADAPTER_H