Searched refs:counting_body (Results 1 – 3 of 3) sorted by relevance
| /oneTBB/test/conformance/ |
| H A D | conformance_graph.cpp | 74 conformance::counting_functor<int> counting_body; in test_functional_nodes_rf_reset_protocol() local 75 Node f(g, oneapi::tbb::flow::serial, counting_body); in test_functional_nodes_rf_reset_protocol() 79 CHECK_MESSAGE((counting_body.execute_count == 0), "Body should not be executed"); in test_functional_nodes_rf_reset_protocol() 83 CHECK_MESSAGE((counting_body.execute_count == 1), "Body should be executed"); in test_functional_nodes_rf_reset_protocol() 108 conformance::counting_functor<int> counting_body(5); in test_nodes_with_body_rf_reset_bodies() local 109 Node testing_node(g, node_args..., counting_body); in test_nodes_with_body_rf_reset_bodies() 114 CHECK_MESSAGE((counting_body.execute_count == 1), "Body should be executed"); in test_nodes_with_body_rf_reset_bodies() 120 …CHECK_MESSAGE((counting_body.execute_count == 1), "Body should be replaced with a copy of the body… in test_nodes_with_body_rf_reset_bodies() 259 conformance::counting_functor<int> counting_body(1); variable 260 input_node<int> testing_node(g,counting_body); [all …]
|
| H A D | conformance_continue_node.cpp | 182 …using counting_body = conformance::copy_counting_object<output_msg, oneapi::tbb::flow::continue_ms… typedef 183 counting_body fun2; 195 counting_body b2 = copy_body<counting_body, continue_node<output_msg>>(node_copy);
|
| H A D | conformance_flowgraph.h | 416 counting_functor<OutputType> counting_body; in test_body_exec() local 417 counting_body.execute_count = 0; in test_body_exec() 419 Node testing_node(g, node_args..., counting_body); in test_body_exec() 428 …CHECK_MESSAGE((counting_body.execute_count == n), "Body of the first node needs to be executed N t… in test_body_exec()
|