Lines Matching +full:- +full:- +full:remove

4  * SPDX-License-Identifier: Apache-2.0
10 * to add and remove threads from a wait queue that holds a varying number of
12 * thread. As these dummy threads are inherently non-executable, this helps
85 /* Remove from head of wait queue */ in test_decreasing_priority()
108 &dummy_thread[num_threads - i - 1]; in test_increasing_priority()
115 /* Remove from tail of wait queue */ in test_increasing_priority()
120 &dummy_thread[num_threads - i - 1]; in test_increasing_priority()
173 diff = (average > tmp) ? (average - tmp) : (tmp - average); in compute_and_report_stats()
186 stag_len = (tag_len + stag_len < 40) ? 40 - tag_len : stag_len; in compute_and_report_stats()
187 sdescr_len = (descr_len + sdescr_len < 50) ? 50 - descr_len : sdescr_len; in compute_and_report_stats()
189 printk("REC: %s%-*s - %s%-*s : %7llu cycles , %7u ns :\n", tag, stag_len, ".min", str, in compute_and_report_stats()
191 printk("REC: %s%-*s - %s%-*s : %7llu cycles , %7u ns :\n", tag, stag_len, ".max", str, in compute_and_report_stats()
193 printk("REC: %s%-*s - %s%-*s : %7llu cycles , %7u ns :\n", tag, stag_len, ".avg", str, in compute_and_report_stats()
195 printk("REC: %s%-*s - %s%-*s : %7llu cycles , %7u ns :\n", tag, stag_len, ".stddev", str, in compute_and_report_stats()
200 printk("------------------------------------\n"); in compute_and_report_stats()
254 snprintf(description, sizeof(description), "%-40s - Add thread of priority %u", tag, in main()
262 remove_cycles, "sched.remove.thread.WaitQ_head", in main()
263 "Remove threads of decreasing priority"); in main()
268 "WaitQ.remove.from.head.%04u.waiters", in main()
269 CONFIG_BENCHMARK_NUM_THREADS - i); in main()
271 "%-40s - Remove thread of priority %u", in main()
293 &dummy_thread[CONFIG_BENCHMARK_NUM_THREADS - i - 1]; in main()
295 "%-40s - Add priority %u to waitq", in main()
296 tag, thread->base.prio); in main()
303 remove_cycles, "sched.remove.thread.WaitQ_tail", in main()
304 "Remove threads of increasing priority"); in main()
309 "WaitQ.remove.from.tail.%04u.waiters", in main()
310 CONFIG_BENCHMARK_NUM_THREADS - i); in main()
312 &dummy_thread[CONFIG_BENCHMARK_NUM_THREADS - i - 1]; in main()
314 "%-40s - Remove priority %u from waitq", in main()
315 tag, thread->base.prio); in main()