Lines Matching refs:flags
170 static void print_threads(int pid, uint32_t flags) in print_threads() argument
183 … else if (!(flags & FLAG_HIDE_IDLE) || threads.data[j].run_count - last_threads.data[i].run_count) in print_threads()
193 static void update_table(DIR *d, uint32_t flags) in update_table() argument
211 if (!(flags & FLAG_BATCH)) in update_table()
235 …else if (!(flags & FLAG_HIDE_IDLE) || processes.data[j].run_count - last_processes.data[i].run_cou… in update_table()
242 if (flags & FLAG_SHOW_THREADS) in update_table()
243 print_threads(pid, flags); in update_table()
272 uint32_t flags = 0; in schedtop_main() local
286 flags |= FLAG_BATCH; in schedtop_main()
289 flags |= FLAG_HIDE_IDLE; in schedtop_main()
292 flags |= FLAG_SHOW_THREADS; in schedtop_main()
295 flags |= FLAG_USE_ALTERNATE_SCREEN; in schedtop_main()
315 if (!(flags & FLAG_BATCH)) { in schedtop_main()
316 if(flags & FLAG_USE_ALTERNATE_SCREEN) { in schedtop_main()
325 update_table(d, flags); in schedtop_main()