27 #ifndef DETAILED_TIMING_BP_CONSTS_H_
28 #define DETAILED_TIMING_BP_CONSTS_H_
32 #include <unordered_map>
40 std::array<std::string_view, 3>{
"Level 0 Data Costs",
"Level 0 BP Runtime",
"Level 0 Copy Runtime"},
41 std::array<std::string_view, 3>{
"Level 1 Data Costs",
"Level 1 BP Runtime",
"Level 1 Copy Runtime"},
42 std::array<std::string_view, 3>{
"Level 2 Data Costs",
"Level 2 BP Runtime",
"Level 2 Copy Runtime"},
43 std::array<std::string_view, 3>{
"Level 3 Data Costs",
"Level 3 BP Runtime",
"Level 3 Copy Runtime"},
44 std::array<std::string_view, 3>{
"Level 4 Data Costs",
"Level 4 BP Runtime",
"Level 4 Copy Runtime"},
45 std::array<std::string_view, 3>{
"Level 5 Data Costs",
"Level 5 BP Runtime",
"Level 5 Copy Runtime"},
46 std::array<std::string_view, 3>{
"Level 6 Data Costs",
"Level 6 BP Runtime",
"Level 6 Copy Runtime"},
47 std::array<std::string_view, 3>{
"Level 7 Data Costs",
"Level 7 BP Runtime",
"Level 7 Copy Runtime"},
48 std::array<std::string_view, 3>{
"Level 8 Data Costs",
"Level 8 BP Runtime",
"Level 8 Copy Runtime"},
49 std::array<std::string_view, 3>{
"Level 9 Data Costs",
"Level 9 BP Runtime",
"Level 9 Copy Runtime"}
67 const std::unordered_map<Runtime_Type, std::string_view>
kTimingNames{
Namespace for enums, constants, structures, and functions specific to belief propagation processing.
const std::unordered_map< Runtime_Type, std::string_view > kTimingNames
Mapping of runtime segment enum to header describing timing of the segment.
Runtime_Type
Enum for each runtime segment in belief propagation implementation shown in timing outputs.
constexpr std::array< std::array< std::string_view, 3 >, 10 > kLevelDCostBpTimeCTimeNames
Constant consisting of arrays of string views for headers corresponding to timing of computation of d...