Home
last modified time | relevance | path

Searched refs:params (Results 1 – 7 of 7) sorted by relevance

/oneTBB/test/common/
H A Dutils_concurrency_limit.h277 sched_param params; in can_change_thread_priority() local
278 params.sched_priority = sched_get_priority_max(SCHED_FIFO); in can_change_thread_priority()
279 ASSERT(params.sched_priority != -1, nullptr); in can_change_thread_priority()
280 err = pthread_setschedparam(this_thread, SCHED_FIFO, &params); in can_change_thread_priority()
307 sched_param params; in get_current_schedparam() local
309 int err = pthread_getschedparam(this_thread, &policy, &params); in get_current_schedparam()
311 return std::make_pair(policy, params); in get_current_schedparam()
316 sched_param params; in increase_thread_priority() local
317 params.sched_priority = sched_get_priority_max(SCHED_FIFO); in increase_thread_priority()
318 ASSERT(params.sched_priority != -1, nullptr); in increase_thread_priority()
[all …]
/oneTBB/doc/main/tbb_userguide/Migration_Guide/
H A DTask_API.rst29 ChildTask1& child1 = *new(root.allocate_child()) ChildTask1{/*params*/};
30 ChildTask2& child2 = *new(root.allocate_child()) ChildTask2{/*params*/};
52 tg.run(ChildTask1{/*params*/});
53 tg.run(ChildTask2{/*params*/});
83 ChildTask1{/*params*/},
84 ChildTask2{/*params*/}
221 std::shared_ptr<Data> data = std::make_shared<Data>(/*params*/);
253 std::shared_ptr<Data> data = std::make_shared<Data>(/*params*/);
358 Task& child = *new(root.allocate_child()) Task{/*params*/};
434 auto cb = tg.defer(CallBackTask{/*params*/});
[all …]
/oneTBB/include/oneapi/tbb/detail/
H A D_template_helpers.h294 static Ret call(F&& f, const pack_type& /*pack*/, Preceding&&... params) {
295 return std::forward<F>(f)(std::forward<Preceding>(params)...);
298 static Ret call(F&& f, pack_type&& /*pack*/, Preceding&&... params) {
299 return std::forward<F>(f)(std::forward<Preceding>(params)...);
324 static Ret call(F&& f, pack_type& pack, Preceding&&... params) {
327 std::forward<Preceding>(params)... , pack.leftmost_value
332 static Ret call(F&& f, pack_type&& pack, Preceding&&... params) {
335 std::forward<Preceding>(params)... , std::move(pack.leftmost_value)
/oneTBB/test/tbbmalloc/
H A Dtest_malloc_compliance.cpp307 const size_t params[] = {SIZE_MAX, SIZE_MAX-16}; in CheckArgumentsOverflow() local
309 for (unsigned i=0; i<utils::array_length(params); i++) { in CheckArgumentsOverflow()
310 p = Tmalloc(params[i]); in CheckArgumentsOverflow()
313 p = Trealloc(nullptr, params[i]); in CheckArgumentsOverflow()
316 p = Tcalloc(1, params[i]); in CheckArgumentsOverflow()
319 p = Tcalloc(params[i], 1); in CheckArgumentsOverflow()
327 for (unsigned i=0; i<utils::array_length(params); i++) { in CheckArgumentsOverflow()
328 ret = Rposix_memalign(&p, max_alignment, params[i]); in CheckArgumentsOverflow()
330 ret = Rposix_memalign(&p, sizeof(void*), params[i]); in CheckArgumentsOverflow()
338 p = Raligned_malloc(params[i], max_alignment); in CheckArgumentsOverflow()
[all …]
/oneTBB/src/tbb/tools_api/
H A Dittnotify_static.c192 #define ITT_STUB(api,type,name,args,params,ptr,group,format) \ argument
201 return ITTNOTIFY_NAME(name) params; \
206 #define ITT_STUBV(api,type,name,args,params,ptr,group,format) \ argument
215 ITTNOTIFY_NAME(name) params; \
225 #define ITT_STUB(api,type,name,args,params,ptr,group,format) \ argument
230 #define ITT_STUBV(api,type,name,args,params,ptr,group,format) \ argument
269 #define ITT_STUB(api,type,name,args,params,nameindll,group,format) { ITT_TO_STR(ITT_JOIN(__itt_,nam… argument
277 #define ITT_STUB(api,type,name,args,params,nameindll,group,format) {ITT_TO_STR(ITT_JOIN(__itt_,name… argument
/oneTBB/include/oneapi/tbb/
H A Denumerable_thread_specific.h678 …template<typename... P> callback_leaf( P&& ... params ) : Constructor(std::forward<P>(params)...) …
698 static callback_base* make( P&& ... params ) {
700 return new(where) callback_leaf( std::forward<P>(params)... );
/oneTBB/test/conformance/
H A Dconformance_enumerable_thread_specific.cpp847 ETS operator()( typename std::decay<P>::type&&... params ) { in operator ()()
848 return ETS(std::move(params)...); in operator ()()