GCC Code Coverage Report


Directory: ./
File: tasks/ashihmin_d_scatter_trans_from_one_to_all/common/include/common.hpp
Date: 2026-01-10 02:40:41
Exec Total Coverage
Lines: 1 1 100.0%
Functions: 0 0 -%
Branches: 6 16 37.5%

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 ashihmin_d_scatter_trans_from_one_to_all {
12
13
6/16
✗ Branch 1 not taken.
✗ Branch 2 not taken.
✓ Branch 3 taken 126 times.
✗ Branch 4 not taken.
✗ Branch 5 not taken.
✓ Branch 6 taken 126 times.
✗ Branch 7 not taken.
✗ Branch 8 not taken.
✗ Branch 9 not taken.
✗ Branch 10 not taken.
✓ Branch 11 taken 36 times.
✗ Branch 12 not taken.
✓ Branch 13 taken 18 times.
✓ Branch 14 taken 36 times.
✓ Branch 16 taken 18 times.
✗ Branch 17 not taken.
414 struct ScatterParams {
14 std::vector<int> data;
15 int elements_per_process = 0;
16 int root = -1;
17 MPI_Datatype datatype = MPI_DATATYPE_NULL;
18 };
19
20 using InType = ScatterParams;
21 using OutType = std::vector<int>;
22 using TestType = std::tuple<int, int, std::string>;
23
24 template <typename T>
25 using BaseTask = ppc::task::Task<ScatterParams, std::vector<T>>;
26
27 } // namespace ashihmin_d_scatter_trans_from_one_to_all
28