GCC Code Coverage Report


Directory: ./
File: tasks/nikolaev_d_gather/common/include/common.hpp
Date: 2026-01-10 02:40:41
Exec Total Coverage
Lines: 1 1 100.0%
Functions: 0 0 -%
Branches: 2 10 20.0%

Line Branch Exec Source
1 #pragma once
2
3 #include <mpi.h>
4
5 #include <string>
6 #include <tuple>
7 #include <vector>
8
9 #include "task/include/task.hpp"
10
11 namespace nikolaev_d_gather {
12
13
2/10
✗ Branch 0 not taken.
✓ Branch 1 taken 30 times.
✗ Branch 2 not taken.
✗ Branch 3 not taken.
✗ Branch 4 not taken.
✗ Branch 5 not taken.
✗ Branch 8 not taken.
✗ Branch 9 not taken.
✗ Branch 15 not taken.
✓ Branch 16 taken 30 times.
120 struct GatherInput {
14 std::vector<char> data;
15 int count{0};
16 MPI_Datatype datatype{MPI_DATATYPE_NULL};
17 int root{0};
18 };
19
20 using InType = GatherInput;
21 using OutType = std::vector<char>;
22 using TestType = std::tuple<int, int, MPI_Datatype, std::string>;
23 using BaseTask = ppc::task::Task<InType, OutType>;
24
25 } // namespace nikolaev_d_gather
26