LCOV - code coverage report
Current view: top level - aicpu_schedule/stub - stub_dp.cpp (source / functions) Coverage Total Hit
Test: coverage.info Lines: 100.0 % 9 9
Test Date: 2026-08-12 11:05:02 Functions: 100.0 % 4 4

            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 "task_queue.h"
      11              : 
      12              : namespace DataPreprocess {
      13              : 
      14            3 : DataPreprocess::TaskQueueMgr::TaskQueueMgr()
      15              : {
      16            3 :     for (int32_t i = TASK_QUEUE_LOW_PRIORITY; i < TASK_QUEUE_MAX_PRIORITY; ++i) {
      17            2 :         preprocessEventfds_[i] = -1; // initialize fd
      18              :     }
      19            1 : }
      20            3 : DataPreprocess::TaskQueueMgr::~TaskQueueMgr() {}
      21              : 
      22            1 : TaskQueueMgr& DataPreprocess::TaskQueueMgr::GetInstance()
      23              : {
      24            1 :     static TaskQueueMgr instance;
      25            1 :     return instance;
      26              : }
      27              : 
      28            1 : void DataPreprocess::TaskQueueMgr::OnPreprocessEvent(uint32_t eventId) { return; }
      29              : 
      30              : } // namespace DataPreprocess
        

Generated by: LCOV version 2.0-1