Home
last modified time | relevance | path

Searched refs:alt_options (Results 1 – 9 of 9) sorted by relevance

/Zephyr-latest/tests/benchmarks/latency_measure/src/
Dthread.c172 int thread_ops(uint32_t num_iterations, uint32_t start_options, uint32_t alt_options) in thread_ops() argument
191 ((alt_options & K_USER) == 0)) { in thread_ops()
195 if ((alt_options & K_USER) == K_USER) { in thread_ops()
226 priority - 1, alt_options, K_FOREVER); in thread_ops()
244 cycles -= timestamp_overhead_adjustment(start_options, alt_options); in thread_ops()
253 (alt_options & K_USER) != 0 ? "user" : "kernel", in thread_ops()
263 cycles -= timestamp_overhead_adjustment(start_options, alt_options); in thread_ops()
268 (alt_options & K_USER) != 0 ? "user" : "kernel", in thread_ops()
277 cycles -= timestamp_overhead_adjustment(start_options, alt_options); in thread_ops()
282 (alt_options & K_USER) != 0 ? "user" : "kernel", in thread_ops()
[all …]
Dmain.c52 uint32_t start_options, uint32_t alt_options);
54 uint32_t alt_options);
57 uint32_t alt_options);
60 uint32_t alt_options);
63 uint32_t alt_options);
65 uint32_t alt_options);
68 uint32_t alt_options);
Dcondvar.c72 uint32_t alt_options) in condvar_blocking_ops() argument
95 priority - 1, alt_options, K_FOREVER); in condvar_blocking_ops()
109 (alt_options & K_USER) ? 'u' : 'k'); in condvar_blocking_ops()
120 (alt_options & K_USER) ? 'u' : 'k', in condvar_blocking_ops()
Dthread_switch_yield.c95 uint32_t alt_options, in thread_switch_yield_common() argument
114 priority - 1, alt_options, K_FOREVER); in thread_switch_yield_common()
132 sum -= timestamp_overhead_adjustment(start_options, alt_options); in thread_switch_yield_common()
137 (alt_options & K_USER) == K_USER ? 'u' : 'k'); in thread_switch_yield_common()
Dfifo.c266 uint32_t alt_options) in fifo_blocking_ops() argument
281 (void *)(uintptr_t)(start_options | alt_options), NULL, in fifo_blocking_ops()
288 (void *)(uintptr_t)(start_options | alt_options), NULL, in fifo_blocking_ops()
289 priority - 2, alt_options, K_FOREVER); in fifo_blocking_ops()
296 if (((start_options | alt_options) & K_USER) == 0) { in fifo_blocking_ops()
299 alt_options & K_USER ? "u" : "k", in fifo_blocking_ops()
312 alt_options & K_USER ? "u" : "k"); in fifo_blocking_ops()
323 alt_options & K_USER ? "u" : "k", in fifo_blocking_ops()
336 alt_options & K_USER ? "u" : "k"); in fifo_blocking_ops()
Dlifo.c266 uint32_t alt_options) in lifo_blocking_ops() argument
281 (void *)(uintptr_t)(start_options | alt_options), NULL, in lifo_blocking_ops()
288 (void *)(uintptr_t)(start_options | alt_options), NULL, in lifo_blocking_ops()
289 priority - 2, alt_options, K_FOREVER); in lifo_blocking_ops()
296 if (((start_options | alt_options) & K_USER) == 0) { in lifo_blocking_ops()
299 alt_options & K_USER ? "u" : "k", in lifo_blocking_ops()
312 alt_options & K_USER ? "u" : "k"); in lifo_blocking_ops()
323 alt_options & K_USER ? "u" : "k", in lifo_blocking_ops()
336 alt_options & K_USER ? "u" : "k"); in lifo_blocking_ops()
Dsema_test_signal_release.c106 uint32_t start_options, uint32_t alt_options) in sema_context_switch() argument
127 priority - 1, alt_options, K_FOREVER); in sema_context_switch()
140 cycles -= timestamp_overhead_adjustment(start_options, alt_options); in sema_context_switch()
145 ((alt_options & K_USER) == K_USER) ? 'u' : 'k'); in sema_context_switch()
158 cycles -= timestamp_overhead_adjustment(start_options, alt_options); in sema_context_switch()
162 ((alt_options & K_USER) == K_USER) ? 'u' : 'k', in sema_context_switch()
Devents.c251 uint32_t alt_options) in event_blocking_ops() argument
274 priority - 2, alt_options, K_FOREVER); in event_blocking_ops()
284 (alt_options & K_USER) ? 'u' : 'k', in event_blocking_ops()
289 timestamp_overhead_adjustment(start_options, alt_options); in event_blocking_ops()
297 (alt_options & K_USER) ? 'u' : 'k'); in event_blocking_ops()
301 timestamp_overhead_adjustment(start_options, alt_options); in event_blocking_ops()
308 (alt_options & K_USER) ? 'u' : 'k', in event_blocking_ops()
320 (alt_options & K_USER) ? 'u' : 'k'); in event_blocking_ops()
Dstack.c166 uint32_t alt_options) in stack_blocking_ops() argument
189 priority - 2, alt_options, K_FOREVER); in stack_blocking_ops()
198 alt_options & K_USER ? "u" : "k", in stack_blocking_ops()
211 alt_options & K_USER ? "u" : "k"); in stack_blocking_ops()