Home
last modified time | relevance | path

Searched refs:sched_priority (Results 1 – 25 of 2705) sorted by relevance

12345678910>>...109

/dports/benchmarks/stress-ng/stress-ng-0.13.09/
H A Dcore-sched.c99 attr.sched_priority = 0; in stress_set_deadline_sched()
128 const int sched_priority, in stress_set_sched() argument
163 param.sched_priority = sched_priority; in stress_set_sched()
167 param.sched_priority = max; in stress_set_sched()
172 prefix, param.sched_priority); in stress_set_sched()
197 attr.sched_priority = (unsigned int)sched_priority; in stress_set_sched()
205 prefix, attr.sched_priority); in stress_set_sched()
257 param.sched_priority = 0; in stress_set_sched()
258 if (sched_priority != UNDEFINED) in stress_set_sched()
287 const int32_t sched_priority, in stress_set_sched() argument
[all …]
/dports/sysutils/hourglass/hourglass-1.0.1b/src/
H A Dunix.c46 param->sched_priority = 0; in make_sched_param()
52 param->sched_priority = 0; in make_sched_param()
58 param->sched_priority = 0; in make_sched_param()
64 param->sched_priority = 0; in make_sched_param()
70 param->sched_priority = 0; in make_sched_param()
76 param->sched_priority = max_realtime_pri / 4; in make_sched_param()
81 param->sched_priority = max_realtime_pri / 2; in make_sched_param()
86 param->sched_priority = max_realtime_pri - 2; in make_sched_param()
91 param->sched_priority = max_realtime_pri - 1; in make_sched_param()
96 param->sched_priority = max_realtime_pri; in make_sched_param()
[all …]
/dports/science/mpqc/mpqc-2.3.1/src/lib/util/group/
H A Dthpthd.cc182 low_param.sched_priority = sched_get_priority_min(SCHED_OTHER); in init_priority()
183 high_param.sched_priority = sched_get_priority_max(SCHED_OTHER); in init_priority()
184 if (high_param.sched_priority > low_param.sched_priority) { in init_priority()
191 low_param.sched_priority = sched_get_priority_min(SCHED_RR); in init_priority()
192 high_param.sched_priority = sched_get_priority_max(SCHED_RR); in init_priority()
193 if (high_param.sched_priority > low_param.sched_priority) { in init_priority()
200 low_param.sched_priority = sched_get_priority_min(SCHED_FIFO); in init_priority()
201 high_param.sched_priority = sched_get_priority_max(SCHED_FIFO); in init_priority()
202 if (high_param.sched_priority > low_param.sched_priority) { in init_priority()
214 param.sched_priority = ( sched_get_priority_min(selected_sched) + priority ); in init_priority()
/dports/misc/posixtestsuite/posixtestsuite/conformance/interfaces/sched_setparam/
H A D1-1.c67 old_priority = param.sched_priority; in main()
76 new_priority = param.sched_priority == min_priority ? in main()
77 (param.sched_priority = sched_get_priority_max(policy)) : in main()
78 (param.sched_priority = min_priority); in main()
90 if(result == 0 && param.sched_priority == new_priority) { in main()
94 } else if(result == 0 && param.sched_priority == old_priority) { in main()
105 param.sched_priority = (new_priority -= 2); in main()
108 if(result == 0 && param.sched_priority == new_priority) { in main()
/dports/lang/gcc12-devel/gcc-12-20211205/libphobos/libdruntime/core/sys/posix/
H A Dsched.d65 int sched_priority; in version() member
76 int sched_priority; in version() member
94 int sched_priority;
102 int sched_priority;
113 int sched_priority;
124 int sched_priority;
135 int sched_priority;
146 int sched_priority;
163 int sched_priority;
175 int sched_priority;
/dports/lang/gcc11/gcc-11.2.0/libphobos/libdruntime/core/sys/posix/
H A Dsched.d65 int sched_priority; in version() member
76 int sched_priority; in version() member
94 int sched_priority;
102 int sched_priority;
113 int sched_priority;
124 int sched_priority;
135 int sched_priority;
146 int sched_priority;
163 int sched_priority;
175 int sched_priority;
/dports/lang/gcc10/gcc-10.3.0/libphobos/libdruntime/core/sys/posix/
H A Dsched.d64 int sched_priority; in version() member
75 int sched_priority; in version() member
93 int sched_priority;
101 int sched_priority;
112 int sched_priority;
123 int sched_priority;
134 int sched_priority;
145 int sched_priority;
162 int sched_priority;
174 int sched_priority;
/dports/lang/gcc11-devel/gcc-11-20211009/libphobos/libdruntime/core/sys/posix/
H A Dsched.d65 int sched_priority; in version() member
76 int sched_priority; in version() member
94 int sched_priority;
102 int sched_priority;
113 int sched_priority;
124 int sched_priority;
135 int sched_priority;
146 int sched_priority;
163 int sched_priority;
175 int sched_priority;
/dports/devel/avr-gcc/gcc-10.2.0/libphobos/libdruntime/core/sys/posix/
H A Dsched.d64 int sched_priority; in version() member
75 int sched_priority; in version() member
93 int sched_priority;
101 int sched_priority;
112 int sched_priority;
123 int sched_priority;
134 int sched_priority;
145 int sched_priority;
162 int sched_priority;
174 int sched_priority;
/dports/lang/gcc9-devel/gcc-9-20211007/libphobos/libdruntime/core/sys/posix/
H A Dsched.d64 int sched_priority; in version() member
75 int sched_priority; in version() member
93 int sched_priority;
101 int sched_priority;
112 int sched_priority;
123 int sched_priority;
134 int sched_priority;
145 int sched_priority;
162 int sched_priority;
174 int sched_priority;
/dports/lang/gcc9/gcc-9.4.0/libphobos/libdruntime/core/sys/posix/
H A Dsched.d64 int sched_priority; in version() member
75 int sched_priority; in version() member
93 int sched_priority;
101 int sched_priority;
112 int sched_priority;
123 int sched_priority;
134 int sched_priority;
145 int sched_priority;
162 int sched_priority;
174 int sched_priority;
/dports/lang/gcc10-devel/gcc-10-20211008/libphobos/libdruntime/core/sys/posix/
H A Dsched.d64 int sched_priority; in version() member
75 int sched_priority; in version() member
93 int sched_priority;
101 int sched_priority;
112 int sched_priority;
123 int sched_priority;
134 int sched_priority;
145 int sched_priority;
162 int sched_priority;
174 int sched_priority;
/dports/misc/cxx_atomics_pic/gcc-11.2.0/libphobos/libdruntime/core/sys/posix/
H A Dsched.d65 int sched_priority; in version() member
76 int sched_priority; in version() member
94 int sched_priority;
102 int sched_priority;
113 int sched_priority;
124 int sched_priority;
135 int sched_priority;
146 int sched_priority;
163 int sched_priority;
175 int sched_priority;
/dports/lang/gcc9-aux/gcc-9.1.0/libphobos/libdruntime/core/sys/posix/
H A Dsched.d64 int sched_priority; in version() member
75 int sched_priority; in version() member
93 int sched_priority;
101 int sched_priority;
112 int sched_priority;
123 int sched_priority;
134 int sched_priority;
145 int sched_priority;
162 int sched_priority;
174 int sched_priority;
/dports/devel/mingw32-pthreads/pthreads-w32-2-8-0-release/tests/
H A Dinherit1.c92 return (void *) param.sched_priority; in func()
113 param.sched_priority = prioSet; in getValidPriorities()
150 mainParam.sched_priority = prio; in main()
160 assert(mainParam.sched_priority == prio); in main()
164 for (param.sched_priority = prio; in main()
165 param.sched_priority <= maxPrio; in main()
166 param.sched_priority++) in main()
172 assert((int) result == mainParam.sched_priority); in main()
H A Dpriority1.c94 return (void *) (param.sched_priority); in func()
153 for (param.sched_priority = minPrio; in main()
154 param.sched_priority <= maxPrio; in main()
155 param.sched_priority++) in main()
163 == validPriorities[param.sched_priority+(PTW32TEST_MAXPRIORITIES/2)]); in main()
167 assert(param.sched_priority == (int) result); in main()
168 printf("%10d %10d %10d\n", param.sched_priority, (int) result, prio); in main()
H A Dpriority2.c98 return (void *) param.sched_priority; in func()
119 param.sched_priority = prioSet; in getValidPriorities()
152 for (param.sched_priority = minPrio; in main()
153 param.sched_priority <= maxPrio; in main()
154 param.sched_priority++) in main()
163 validPriorities[param.sched_priority+(PTW32TEST_MAXPRIORITIES/2)]); in main()
165 assert(param.sched_priority == (int)result); in main()
/dports/multimedia/obs-studio/obs-studio-27.1.3/deps/w32-pthreads/tests/
H A Dinherit1.c92 return (void *) (size_t)param.sched_priority; in func()
113 param.sched_priority = prioSet; in getValidPriorities()
150 mainParam.sched_priority = prio; in main()
160 assert(mainParam.sched_priority == prio); in main()
164 for (param.sched_priority = prio; in main()
165 param.sched_priority <= maxPrio; in main()
166 param.sched_priority++) in main()
172 assert((int)(size_t) result == mainParam.sched_priority); in main()
H A Dpriority1.c94 return (void *) (size_t)(param.sched_priority); in func()
153 for (param.sched_priority = minPrio; in main()
154 param.sched_priority <= maxPrio; in main()
155 param.sched_priority++) in main()
163 == validPriorities[param.sched_priority+(PTW32TEST_MAXPRIORITIES/2)]); in main()
167 assert(param.sched_priority == (int)(size_t) result); in main()
168 printf("%10d %10d %10d\n", param.sched_priority, (int)(size_t) result, prio); in main()
H A Dpriority2.c98 return (void *) (size_t)param.sched_priority; in func()
119 param.sched_priority = prioSet; in getValidPriorities()
152 for (param.sched_priority = minPrio; in main()
153 param.sched_priority <= maxPrio; in main()
154 param.sched_priority++) in main()
163 validPriorities[param.sched_priority+(PTW32TEST_MAXPRIORITIES/2)]); in main()
165 assert(param.sched_priority == (int)(size_t)result); in main()
/dports/misc/posixtestsuite/posixtestsuite/conformance/interfaces/sched_setscheduler/
H A D4-1.c41 old_priority = param.sched_priority; in main()
43 (param.sched_priority = sched_get_priority_min(new_policy)) : in main()
44 (param.sched_priority = max_prio); in main()
59 if(result != -1 && param.sched_priority == new_priority && in main()
64 (param.sched_priority == old_priority || in main()
66 if(param.sched_priority == old_priority) { in main()
/dports/misc/posixtestsuite/posixtestsuite/conformance/interfaces/pthread_getschedparam/
H A D1-3.c116 if ( t_parm.sched_priority != priority ) in check_param()
219 sp.sched_priority = sched_get_priority_min( SCHED_RR ); in main()
221 if ( sp.sched_priority == -1 ) in main()
262 sp.sched_priority = sched_get_priority_min( SCHED_FIFO ); in main()
264 if ( sp.sched_priority == -1 ) in main()
296 sp.sched_priority = sched_get_priority_max( SCHED_FIFO ); in main()
298 if ( sp.sched_priority == -1 ) in main()
303 ret = pthread_setschedprio( child, sp.sched_priority ); in main()
/dports/misc/posixtestsuite/posixtestsuite/conformance/interfaces/pthread_create/
H A D3-2.c338 newparam.sched_priority = sched_get_priority_max(newpol); in schedtest()
340 if (newparam.sched_priority == td->param.sched_priority) in schedtest()
341 newparam.sched_priority--; in schedtest()
541 if (td.param.sched_priority != param_ori.sched_priority) in main()
557 if (newpol_max == param_ori.sched_priority) in main()
560 tmp.sched_priority = newpol_max; in main()
577 if (td.param.sched_priority != param_ori.sched_priority) in main()
587 if (td.param.sched_priority != param_ori.sched_priority) in main()
613 if (td.param.sched_priority != param_ori.sched_priority) in main()
/dports/audio/aqualung/aqualung-1.0/src/
H A Dathread.c61 param.sched_priority = priority; in set_thread_priority()
63 if (param.sched_priority < priority_min) { in set_thread_priority()
64 param.sched_priority = priority_min; in set_thread_priority()
65 } else if (param.sched_priority > priority_max) { in set_thread_priority()
66 param.sched_priority = priority_max; in set_thread_priority()
/dports/misc/posixtestsuite/posixtestsuite/conformance/interfaces/pthread_setschedprio/
H A D1-1.c34 sparam.sched_priority = priority; in a_thread_func()
48 printf("policy: %d, priority: %d\n", policy_1, sparam.sched_priority); in a_thread_func()
49 if (policy_1 != policy || sparam.sched_priority != priority) in a_thread_func()
68 printf("policy: %d, priority: %d\n", policy_1, sparam.sched_priority); in a_thread_func()
69 if (sparam.sched_priority != (priority + 1)) in a_thread_func()

12345678910>>...109