LCOV - code coverage report
Current view: top level - base_comm/resources/ccu/ccu_representation/reps/sync - ccu_rep_rempostvar_v1.h (source / functions) Coverage Total Hit
Test: coverage.info Lines: 100.0 % 5 5
Test Date: 2026-08-04 10:52:23 Functions: 100.0 % 5 5

            Line data    Source code
       1              : /*
       2              :  * Copyright (c) Huawei Technologies Co., Ltd. 2025-2025. All rights reserved.
       3              :  * Description: ccu representation base header file
       4              :  * Create: 2025-02-18
       5              :  */
       6              : 
       7              : #ifndef HCOMM_CCU_REPRESENTATION_REMPOSTVAR_H
       8              : #define HCOMM_CCU_REPRESENTATION_REMPOSTVAR_H
       9              : 
      10              : #include "ccu_rep_base_v1.h"
      11              : #include "ccu_datatype_v1.h"
      12              : 
      13              : namespace hcomm {
      14              : namespace CcuRep {
      15              : 
      16              : class CcuRepRemPostVar : public CcuRepBase {
      17              : public:
      18              :     CcuRepRemPostVar(CcuInsGeneratorBase* insGenPtr, Variable param, const ChannelHandle channel, uint16_t paramIndex, uint16_t semIndex,
      19              :                        uint16_t mask);
      20              :     bool        Translate(CcuKernel* ccuKernel, CcuInstr *&instr, uint16_t &instrId, const TransDep &dep) override;
      21              :     std::string Describe() override;
      22              :     uint32_t    GetRmtXnId() { return rmtXnId; }
      23              :     uint32_t    GetRmtCkeId() { return rmtCkeId; }
      24           14 :     uint16_t    GetParamIndex() { return paramIndex; }
      25            9 :     Variable    GetParam() { return param; }
      26              :     uint32_t    GetChannelId() { return channelId; }
      27              : 
      28           21 :     ChannelHandle GetChannel() { return channel; }
      29           15 :     uint16_t GetSemIndex() { return semIndex; }
      30            9 :     uint16_t GetMask() { return mask; }
      31              : private:
      32              :     CcuInsGeneratorBase* insGenPtr{nullptr};
      33              :     Variable                      param;
      34              :     ChannelHandle                 channel;
      35              :     uint16_t                      paramIndex{0};
      36              :     uint16_t                      semIndex{0};
      37              :     uint16_t                      mask{0};
      38              :     uint32_t                      rmtXnId{0};
      39              :     uint32_t                      rmtCkeId{0};
      40              :     uint32_t                      channelId{0};
      41              : };
      42              : 
      43              : }; // namespace CcuRep
      44              : }; // namespace hcomm
      45              : #endif // HCOMM_CCU_REPRESENTATION_REMPOSTVAR_H
        

Generated by: LCOV version 2.0-1