LCOV - code coverage report
Current view: top level - legacy/ascend950/unified_platform/ccu/ccu_representation/reps/common - ccu_rep_base.cpp (source / functions) Coverage Total Hit
Test: coverage.info Lines: 100.0 % 12 12
Test Date: 2026-08-04 10:52:23 Functions: 85.7 % 7 6

            Line data    Source code
       1              : /**
       2              :  * Copyright (c) 2025 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 "ccu_rep.h"
      12              : 
      13              : namespace Hccl {
      14              : namespace CcuRep {
      15              : 
      16         2808 : CcuRepBase::CcuRepBase()
      17              : {
      18         2808 : }
      19              : 
      20         2808 : CcuRepBase::~CcuRepBase()
      21              : {
      22         2808 : }
      23              : 
      24        14734 : CcuRepType CcuRepBase::Type() const
      25              : {
      26        14734 :     return type;
      27              : }
      28              : 
      29         1454 : bool CcuRepBase::Translated() const
      30              : {
      31         1454 :     return translated;
      32              : }
      33              : 
      34          845 : uint16_t CcuRepBase::StartInstrId() const
      35              : {
      36          845 :     return instrId;
      37              : }
      38         1356 : uint16_t CcuRepBase::InstrCount()
      39              : {
      40         1356 :     return instrCount;
      41              : }
      42              : 
      43              : }; // namespace CcuRep
      44              : }; // namespace Hccl
        

Generated by: LCOV version 2.0-1