LCOV - code coverage report
Current view: top level - stub - stub_external_deps.cpp (source / functions) Coverage Total Hit
Test: coverage.info Lines: 100.0 % 10 10
Test Date: 2026-08-31 10:06:05 Functions: 100.0 % 6 6

            Line data    Source code
       1              : /**
       2              :  * Copyright (c) 2026 Huawei Technologies Co., Ltd.
       3              :  * This program is free software, you can redistribute it and/or modify it under the terms and conditions of
       4              :  * CANN Open Software License Agreement Version 2.0 (the "License").
       5              :  * Please refer to the License for details. You may not use this file except in compliance with the License.
       6              :  * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED,
       7              :  * INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
       8              :  * See LICENSE in the root of the software repository for the full text of the License.
       9              :  */
      10              : 
      11              : #include "platform_info.h"
      12              : 
      13              : namespace fe {
      14            1 : PlatformInfoManager::PlatformInfoManager() : init_flag_(false), runtime_init_flag_(false) {}
      15              : 
      16            1 : PlatformInfoManager::~PlatformInfoManager() {}
      17              : 
      18            4 : PlatformInfoManager& PlatformInfoManager::Instance()
      19              : {
      20            4 :     static PlatformInfoManager platform_info;
      21            4 :     return platform_info;
      22              : }
      23              : 
      24            1 : uint32_t PlatformInfoManager::InitializePlatformInfo() { return 0; }
      25              : 
      26            1 : uint32_t PlatformInfoManager::GetPlatformInfos(
      27              :     const std::string SoCVersion, PlatFormInfos& platform_info, OptionalInfos& opti_compilation_info)
      28              : {
      29              :     (void)SoCVersion;
      30              :     (void)platform_info;
      31              :     (void)opti_compilation_info;
      32            1 :     return 0;
      33              : }
      34              : 
      35            1 : bool PlatFormInfos::GetPlatformRes(const std::string& label, const std::string& key, std::string& val)
      36              : {
      37              :     (void)label;
      38              :     (void)key;
      39              :     (void)val;
      40            1 :     return false;
      41              : }
      42              : } // namespace fe
        

Generated by: LCOV version 2.0-1