Home
last modified time | relevance | path

Searched refs:hint (Results 1 – 12 of 12) sorted by relevance

/oneTBB/src/tbbmalloc/
H A DMapMemory.h57 static void* hint; in mmapTHP() local
61 hint = hint ? (void*)((uintptr_t)hint - bytes) : hint; in mmapTHP()
62 void* result = mmap_impl(bytes, hint); in mmapTHP()
66 hint = nullptr; in mmapTHP()
81 hint = nullptr; in mmapTHP()
106 hint = result; in mmapTHP()
/oneTBB/src/tbb/
H A Dthread_dispatcher.cpp37 thread_dispatcher_client* thread_dispatcher::select_next_client(thread_dispatcher_client* hint) { in select_next_client() argument
39 if (hint) { in select_next_client()
40 next_client_priority_level = hint->priority_level(); in select_next_client()
49 return hint; in select_next_client()
134 …ent* thread_dispatcher::client_in_need(client_list_type* clients, thread_dispatcher_client* hint) { in client_in_need() argument
136 hint = select_next_client(hint); in client_in_need()
137 if (!hint) { in client_in_need()
141 client_list_type::iterator it = hint; in client_in_need()
142 unsigned curr_priority_level = hint->priority_level(); in client_in_need()
155 } while (it != hint); in client_in_need()
H A Darena.h337 d1::task* get_stream_task(task_stream<accessor>& stream, unsigned& hint);
341 d1::task* get_critical_task(unsigned& hint, isolation_type isolation);
479 inline d1::task* arena::get_stream_task(task_stream<accessor>& stream, unsigned& hint) { in get_stream_task() argument
482 return stream.pop(subsequent_lane_selector(hint)); in get_stream_task()
492 inline d1::task* arena::get_critical_task(unsigned& hint, isolation_type isolation) { in get_critical_task() argument
497 return my_critical_task_stream.pop_specific( hint, isolation ); in get_critical_task()
499 return my_critical_task_stream.pop(preceding_lane_selector(hint)); in get_critical_task()
H A Dthread_dispatcher.h64 thread_dispatcher_client* select_next_client(thread_dispatcher_client* hint);
69 …hread_dispatcher_client* client_in_need(client_list_type* clients, thread_dispatcher_client* hint);
H A Dtask_dispatcher.h147 execution_data_ext& ed, arena& a, task_stream<front_accessor>& stream, unsigned& hint, in get_stream_or_critical_task() argument
155 return a.get_stream_task(stream, hint); in get_stream_or_critical_task()
/oneTBB/doc/main/reference/
H A Dtask_group_extensions.rst63 As an optimization hint, ``F`` might return a ``task_handle``, which task object can be executed ne…
70 As an optimization hint, ``F`` might return a ``task_handle``, which task object can be executed ne…
78 As an optimization hint, ``F`` might return a ``task_handle``, which task object can be executed ne…
/oneTBB/test/common/
H A Dnode_handling_support.h203 …ads(Container& table_to_insert, const typename Container::value_type& value, const Hint&... hint) { in test_insert_overloads() argument
208 auto result = table_to_insert.insert(hint..., std::move(nh)); in test_insert_overloads()
217 result = table_to_insert.insert(hint..., std::move(nh)); in test_insert_overloads()
223 result = table_to_insert.insert(hint..., std::move(nh)); in test_insert_overloads()
H A Dconcurrent_associative_common.h272 … Container::iterator call_emplace_hint_impl( Container& c, typename Container::const_iterator hint,
276 return c.emplace_hint(hint, std::forward<Arg>(k));
280 … Container::iterator call_emplace_hint_impl( Container& c, typename Container::const_iterator hint,
284 return c.emplace_hint(hint, k, std::forward<Arg>(k));
294 …ner::iterator call_emplace_hint( Container& c, typename Container::const_iterator hint, Arg&& k ) {
296 return call_emplace_hint_impl(c, hint, std::forward<Arg>(k), selector);
/oneTBB/include/oneapi/tbb/
H A Dconcurrent_map.h154 iterator>::type insert( const_iterator hint, P&& value ) in insert() argument
156 return this->emplace_hint(hint, std::forward<P>(value)); in insert()
271 iterator>::type insert( const_iterator hint, P&& value ) in insert() argument
273 return this->emplace_hint(hint, std::forward<P>(value)); in insert()
H A Dconcurrent_unordered_map.h136 iterator>::type insert( const_iterator hint, P&& value ) { in insert() argument
137 return this->emplace_hint(hint, std::forward<P>(value)); in insert()
297 iterator>::type insert( const_iterator hint, P&& value ) { in insert() argument
298 return this->emplace_hint(hint, std::forward<P&&>(value)); in insert()
/oneTBB/doc/main/reference/scalable_memory_pools/
H A Dmemory_pool_allocator_cls.rst60 pointer allocate(size_type n, const void* hint=0);
/oneTBB/doc/main/tbb_userguide/
H A DControlling_Chunking_os.rst53 ``affinity_partitioner`` implies an additional hint, as explained later