Lines Matching refs:globals

16     processor_itr = kern.globals.processor_list
40 while x < unsigned(kern.globals.machine_info.physical_cpu):
105 while x < unsigned(kern.globals.machine_info.physical_cpu):
343 if most_recent_dispatch > kern.globals.debugger_entry_time :
346 return kern.globals.debugger_entry_time
357 for current_processor in IterateLinkedList(kern.globals.processor_list, 'processor_list') :
370 cpu_data = kern.globals.cpu_data_ptr[current_processor.cpu_id]
375 time_since_debugger = unsigned(cpu_debugger_time - kern.globals.debugger_entry_time)
520 run_buckets = kern.globals.sched_run_buckets
529 sched_pri_shifts = kern.globals.sched_run_buckets
537 …:d} Runnable threads: {:d} Fixpri threads: {:d}\n".format(run_count, fixpri_count, g=kern.globals))
539 …estamp: {g.sched_tick_last_abstime:d} interval:{g.sched_tick_interval:d}\n".format(g=kern.globals))
540 …ft: {:d}\n".format(share_fg_shift, share_df_shift, share_ut_shift, share_bg_shift, g=kern.globals))
541 …imit:d} sched_decay_usage_age_factor: {g.sched_decay_usage_age_factor:d}\n".format(g=kern.globals))
544 print("debugger_entry_time: {g.debugger_entry_time:d}\n".format(g=kern.globals))
552 threads = [t for t in IterateQueue(kern.globals.threads, 'thread *', 'threads')]
559 for thread in IterateQueue(kern.globals.threads, 'thread *', 'threads'):
686 node = addressof(kern.globals.pset_node0)
693 sched_string = str(kern.globals.sched_string)
720 run_buckets = kern.globals.sched_run_buckets
727 …:d} Runnable threads: {:d} Fixpri threads: {:d}\n".format(run_count, fixpri_count, g=kern.globals))
736 if hasattr(kern.globals, "multiq_sanity_check"):
737 …and limit {g.drain_band_limit:d}, sanity check {g.multiq_sanity_check:d}\n".format(g=kern.globals))
739 …, depth limit {g.drain_depth_limit:d}, band limit {g.drain_band_limit:d}\n".format(g=kern.globals))
771 … for group in IterateQueue(kern.globals.sched_groups, "sched_group_t", "sched_groups"):
778 processor_array = kern.globals.processor_array
851 …print("\nCrashed Threads Queue: ({:<#012x})\n".format(addressof(kern.globals.crashed_threads_queue…
853 …for thread in ParanoidIterateLinkageChain(kern.globals.crashed_threads_queue, "thread_t", "runq_li…
869 dump_mpsc_thread_queue("Terminate Queue", kern.globals.thread_terminate_queue)
870 dump_mpsc_thread_queue("Waiting For Kernel Stacks Queue", kern.globals.thread_stack_queue)
871 dump_mpsc_thread_queue("Thread Exception Queue", kern.globals.thread_exception_queue)
872 dump_mpsc_thread_queue("Thread Deallocate Queue", kern.globals.thread_deallocate_queue)
1128 … timer_fire = call.tc_pqlink.deadline - (recent_timestamp + kern.globals.mach_absolutetime_asleep)
1129 …soft_timer_fire = call.tc_soft_deadline - (recent_timestamp + kern.globals.mach_absolutetime_aslee…
1243 for thread in IterateQueue(kern.globals.kernel_task.threads, 'thread *', 'task_threads'):
1327 group = addressof(kern.globals.thread_call_groups[i])