Home
last modified time | relevance | path

Searched refs:check (Results 1 – 25 of 43) sorted by relevance

12

/oneTBB/src/tbb/
H A Drml_thread_monitor.h123 static void check( int error_code, const char* routine );
181 inline void thread_monitor::check( int error_code, const char* routine ) { in check() function
192 check(pthread_attr_init( &s ), "pthread_attr_init has failed"); in launch()
194check(pthread_attr_setstacksize( &s, stack_size ), "pthread_attr_setstack_size has failed" ); in launch()
214 check( pthread_attr_destroy( &s ), "pthread_attr_destroy has failed" ); in launch()
219 check(pthread_join(handle, nullptr), "pthread_join has failed"); in join()
223 check(pthread_detach(handle), "pthread_detach has failed"); in detach_thread()
H A Dco_context.h159 inline void check(int error_code, const char* routine) { in check() function
216 check(pthread_attr_init(&s), "pthread_attr_init has failed"); in create_coroutine()
218 check(pthread_attr_setstacksize(&s, stack_size), "pthread_attr_setstack_size has failed"); in create_coroutine()
220check(pthread_create(&c.my_thread, &s, coroutine_thread_func, &data), "pthread_create has failed"); in create_coroutine()
221 check(pthread_attr_destroy(&s), "pthread_attr_destroy has failed"); in create_coroutine()
275 check(pthread_join(c.my_thread, nullptr), "pthread_join has failed"); in destroy_coroutine()
/oneTBB/test/conformance/
H A Dconformance_global_control.cpp76 utils::ExactConcurrencyLevel::check(expected_threads); in RunWorkersLimited()
133 utils::ExactConcurrencyLevel::check(expected_threads); in TestAutoInit()
143 utils::ExactConcurrencyLevel::check(max_parallelism-1); in TestAutoInit()
156 utils::ExactConcurrencyLevel::check(1); in operator ()()
159 utils::ExactConcurrencyLevel::check(1); in operator ()()
163 utils::ExactConcurrencyLevel::check(1); in operator ()()
165 utils::ExactConcurrencyLevel::check(2); in operator ()()
170 utils::ExactConcurrencyLevel::check(1); in operator ()()
173 utils::ExactConcurrencyLevel::check(1); in operator ()()
175 utils::ExactConcurrencyLevel::check(1); in operator ()()
[all …]
H A Dconformance_flowgraph.h245 static bool check = false; in operator() local
246 if(check) { in operator()
247 check = false; in operator()
251 check = true; in operator()
372 static bool check = false; in operator() local
373 if(check) { in operator()
374 check = false; in operator()
378 check = true; in operator()
395 if(check) { in operator()
396 check = false; in operator()
[all …]
H A Dconformance_sequencer_node.cpp180 …function_node<test_invoke::SmartID<std::size_t>, std::size_t> check(g, serial, [&](const test_invo… in __anona3025c380602() variable
188 make_edge(seq1, check);
202 make_edge(seq2, check);
H A Dconformance_enumerable_thread_specific.cpp860 void ets_copy_assign_test( InitSrc init1, InitDst init2, Validator check, const char *allocator_nam… in ets_copy_assign_test() argument
866 check(check_alignment(source.local(),allocator_name)); in ets_copy_assign_test()
871 check(check_alignment(copy.local(existed),allocator_name)); in ets_copy_assign_test()
874 check(check_alignment(copy.local(),allocator_name)); in ets_copy_assign_test()
880 check(check_alignment(assign.local(existed),allocator_name)); in ets_copy_assign_test()
883 check(check_alignment(assign.local(),allocator_name)); in ets_copy_assign_test()
887 check(check_alignment(rvref_binder.local(),allocator_name)); in ets_copy_assign_test()
892 check(check_alignment(moved.local(existed),allocator_name)); in ets_copy_assign_test()
895 check(check_alignment(moved.local(),allocator_name)); in ets_copy_assign_test()
901 check(check_alignment(move_assign.local(existed),allocator_name)); in ets_copy_assign_test()
[all …]
H A Dconformance_task_group.cpp228 auto check = [&] { in run_cancellation_use_case() local
246 check(); in run_cancellation_use_case()
H A Dconformance_mutex.h29 void GeneralTest(const char* mutex_name, bool check = true) { // check flag is needed to disable co…
49 if (check) {
/oneTBB/test/common/
H A Dtest_follows_and_precedes_api.h49 static void check(tbb::flow::graph& g,
145 static void check(tbb::flow::graph& g,
244 edge_checker_follows<MessageType, NodeType, PredecessorType>::check(g, node, preds, messages);
261 edge_checker_precedes<MessageType, NodeType>::check(g, node, successors, messages);
H A Dconcurrent_associative_common.h876 check_types.template check</*DefCtorPresent = */true>(arr_int);
883 check_types.template check</*DefCtorPresent = */false>(arr_ref);
890 check_types.template check</*DefCtorPresent = */true>(arr_shr);
895 check_types.template check</*DefCtorPresent = */true>(arr_weak);
902 check_types.template check</*DefCtorPresent = */true>(arr_pairs);
909 check_types.template check</*DefCtorPresent = */true>(arr_strings);
923 check_types.template check</*DefCtorPresent = */true>(arr_int_int_pairs);
930 check_types.template check</*DefCtorPresent = */true>(arr_ref_int_pairs);
937 check_types.template check</*DefCtorPresent = */false>(arr_int_ref_pairs);
945 check_types.template check</*DefCtorPresent = */true>(arr_shared_pairs);
[all …]
H A Dconcurrency_tracker.h141 static void check(size_t concLevel, Mode m = None) {
/oneTBB/test/tbbmalloc/
H A Dtest_malloc_whitebox.cpp91 void check() const { in check() function in AllocInfo
141 allocs[j].check(); in operator ()()
161 allocs[j].check(); in operator ()()
1030 void check() { in check() function in CacheBinModel
1073 cacheBinModel.check(); in LOCModelTester()
1149 void check() { in check() function in TestCollapsingMallocFree
1188 void check() { in check() function in TestCollapsingBootstrap
1204 scen.check(); in LOCCollapsingTester()
1554 void check(CleanupType type) { in check() function
1591 test.check(HOThresholdTester::NO_CLEANUP); in TestHugeSizeThresholdImpl()
[all …]
/oneTBB/examples/graph/dining_philosophers/
H A Ddining_philosophers.cpp124 void check();
188 void philosopher::check() { in check() function in philosopher
324 philosophers[i].check(); in main()
/oneTBB/test/tbb/
H A Dtest_parallel_pipeline.cpp349 … bool check = pointer_specialized_calls == max_counter && // input filter extra invocation in checkCounters() local
353 … CHECK_MESSAGE(check, "incorrect specialization for firstpointer, p:" << concurrency); in checkCounters()
358 bool check = pointer_specialized_calls == max_counter && in checkCounters() local
362 … CHECK_MESSAGE(check, "incorrect specialization for firstpointer, p:" << concurrency); in checkCounters()
H A Dtest_buffer_node.cpp82 bool check( T v ) { in check() function
110 my_touches.check( v ); in operator ()()
136 my_touches.check( v ); in operator ()()
H A Dtest_sequencer_node.cpp98 bool check( int tid, T v ) { in check() function
149 my_touches.check( tid, v ); in operator ()()
180 my_touches.check( tid, v ); in operator ()()
H A Dtest_queue_node.cpp111 bool check( int tid, T v ) { in check() function
162 my_touches.check( tid, v ); in operator ()()
188 my_touches.check( tid, v ); in operator ()()
H A Dtest_async_node.cpp84 static void check(const T1 &, const T2 &) { } in check() function
90 static void check(const place_wrapper<T1> &a, const place_wrapper<T2> &b) { in check() function
367 wrapper_helper<output_type, output_type>::check(work.input, output); in process()
436 wrapper_helper<output_type, output_type>::check(input, output); in run()
/oneTBB/doc/
H A Dtest_classification.dox15 /// check imposibility to call particular interfaces that are not
/oneTBB/src/tbbmalloc_proxy/
H A Dproxy_overload_osx.h131 introspect.check = &zone_check; in DoMallocReplacement()
/oneTBB/doc/main/tbb_userguide/
H A Dalways_use_wait_for_all.rst41 If you use a flow graph and see mysterious behavior, check first to see
H A DUpgradeDowngrade.rst40 check that the key was not inserted by another writer. The example
H A DWindows_C_Dynamic_Memory_Interface_Replacement.rst77 function to check if the replacement has succeeded and to get additional information.
/oneTBB/doc/main/tbb_userguide/Migration_Guide/
H A DMixing_Two_Runtimes.rst13 performance penalty due to increased number of context switches. To check if both TBB and
/oneTBB/doc/main/reference/scalable_memory_pools/
H A Dmalloc_replacement_log.rst37 The ``TBB_malloc_replacement_log`` function allows the program to check if the dynamic memory repla…

12