LCOV - code coverage report
Current view: top level - legacy/ascend910/platform/resource/notify - esched_notify.cc (source / functions) Coverage Total Hit
Test: coverage.info Lines: 0.0 % 42 0
Test Date: 2026-07-28 12:11:00 Functions: 0.0 % 21 0

            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              : #include "esched_notify.h"
      11              : 
      12              : namespace hccl {
      13              : constexpr u32 DEFAULT_NTC_EVENTID = 50;
      14              : uint32_t EschedNotify::eventId_ = DEFAULT_NTC_EVENTID;
      15              : uint32_t EschedNotify::initialThreadId_ = 0U;
      16              : 
      17            0 : EschedNotify::EschedNotify(NotifyType notifyType) : NotifyBase(notifyType)
      18              : {
      19            0 : }
      20              : 
      21            0 : EschedNotify::EschedNotify(NotifyType notifyType, HcclNotifyInfo notifyInfo)
      22            0 :     : NotifyBase(notifyType, notifyInfo)
      23              : {
      24            0 : }
      25              : 
      26            0 : EschedNotify::~EschedNotify()
      27              : {
      28            0 :     (void)Destroy();
      29            0 : }
      30              : 
      31            0 : HcclResult EschedNotify::Open()
      32              : {
      33            0 :     return HCCL_SUCCESS;
      34              : }
      35              : 
      36            0 : HcclResult EschedNotify::Close()
      37              : {
      38            0 :     return HCCL_SUCCESS;
      39              : }
      40              : 
      41            0 : HcclResult EschedNotify::Wait(Stream& stream, HcclDispatcher dispatcher, s32 stage, u32 timeOut)
      42              : {
      43            0 :     return HCCL_SUCCESS;
      44              : }
      45              : 
      46            0 : HcclResult EschedNotify::Post(Stream& stream, HcclDispatcher dispatcher, s32 stage)
      47              : {
      48            0 :     return HCCL_SUCCESS;
      49              : }
      50              : 
      51            0 : HcclResult EschedNotify::Wait(Stream& stream, HcclDispatcher dispatcher, s32 stage, u32 timeOut,
      52              :     u32 userRank, u32 remoteUserRank)
      53              : {
      54            0 :     return Wait(stream, dispatcher, stage, timeOut);
      55              : }
      56              : 
      57            0 : HcclResult EschedNotify::Wait(Stream& stream, u32 timeOut)
      58              : {
      59            0 :     return HCCL_SUCCESS;
      60              : }
      61              : 
      62            0 : HcclResult EschedNotify::Post(Stream& stream, HcclDispatcher dispatcher, s32 stage, u32 remoteUserRank)
      63              : {
      64            0 :     return Post(stream, dispatcher, stage);
      65              : }
      66              : 
      67            0 : HcclResult EschedNotify::Post(Stream& stream)
      68              : {
      69            0 :     return HCCL_SUCCESS;
      70              : }
      71              : 
      72            0 : HcclResult EschedNotify::SetIpc()
      73              : {
      74            0 :     return HCCL_SUCCESS;
      75              : }
      76              : 
      77            0 : HcclResult EschedNotify::Grant(s64 recvId)
      78              : {
      79            0 :     return HCCL_SUCCESS;
      80              : }
      81              : 
      82            0 : HcclResult EschedNotify::Alloc()
      83              : {
      84            0 :     return HCCL_SUCCESS;
      85              : }
      86              : 
      87            0 : HcclResult EschedNotify::Destroy()
      88              : {
      89            0 :     return HCCL_SUCCESS;
      90              : }
      91              : 
      92            0 : HcclResult EschedNotify::ThreadIdCreate(uint32_t &threadId)
      93              : {
      94            0 :     return HCCL_SUCCESS;
      95              : }
      96              : 
      97            0 : HcclResult EschedNotify::InitGroupId()
      98              : {
      99            0 :     return HCCL_SUCCESS;
     100              : }
     101              : 
     102            0 : void EschedNotify::ThreadIdQueInit()
     103              : {
     104            0 :     return;
     105              : }
     106              : 
     107            0 : HcclResult EschedNotify::GetGroupId()
     108              : {
     109            0 :     return HCCL_SUCCESS;
     110              : }
     111              : 
     112            0 : void EschedNotify::Break()
     113              : {
     114            0 : }
     115              : }
        

Generated by: LCOV version 2.0-1