• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /**
2  * Copyright 2020 Huawei Technologies Co., Ltd
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 #include "acl/acl_prof.h"
17 
aclprofInit(const char * profilerResultPath,size_t length)18 ACL_FUNC_VISIBILITY aclError aclprofInit(const char *profilerResultPath, size_t length) { return ACL_SUCCESS; }
19 
aclprofStart(const aclprofConfig * profilerConfig)20 ACL_FUNC_VISIBILITY aclError aclprofStart(const aclprofConfig *profilerConfig) { return ACL_SUCCESS; }
21 
aclprofStop(const aclprofConfig * profilerConfig)22 ACL_FUNC_VISIBILITY aclError aclprofStop(const aclprofConfig *profilerConfig) { return ACL_SUCCESS; }
23 
aclprofFinalize()24 ACL_FUNC_VISIBILITY aclError aclprofFinalize() { return ACL_SUCCESS; }
25 
aclprofCreateConfig(uint32_t * deviceIdList,uint32_t deviceNums,aclprofAicoreMetrics aicoreMetrics,const aclprofAicoreEvents * aicoreEvents,uint64_t dataTypeConfig)26 ACL_FUNC_VISIBILITY aclprofConfig *aclprofCreateConfig(uint32_t *deviceIdList, uint32_t deviceNums,
27                                                        aclprofAicoreMetrics aicoreMetrics,
28                                                        const aclprofAicoreEvents *aicoreEvents,
29                                                        uint64_t dataTypeConfig) {
30   return nullptr;
31 }
32 
aclprofDestroyConfig(const aclprofConfig * profilerConfig)33 ACL_FUNC_VISIBILITY aclError aclprofDestroyConfig(const aclprofConfig *profilerConfig) { return ACL_SUCCESS; }
34 
35