Lines Matching refs:globals
21 processor_itr = kern.globals.processor_list
45 while x < unsigned(kern.globals.machine_info.physical_cpu):
110 while x < unsigned(kern.globals.machine_info.physical_cpu):
162 …tg_boost = kern.globals.sched_clutch_bucket_group_pri_boost[clutch_bucket.scb_group.scbg_clutch.sc…
345 if most_recent_dispatch > kern.globals.debugger_entry_time :
348 return kern.globals.debugger_entry_time
359 for current_processor in IterateLinkedList(kern.globals.processor_list, 'processor_list') :
372 cpu_data = kern.globals.cpu_data_ptr[current_processor.cpu_id]
377 time_since_debugger = unsigned(cpu_debugger_time - kern.globals.debugger_entry_time)
522 run_buckets = kern.globals.sched_run_buckets
531 sched_pri_shifts = kern.globals.sched_run_buckets
539 …:d} Runnable threads: {:d} Fixpri threads: {:d}\n".format(run_count, fixpri_count, g=kern.globals))
541 …estamp: {g.sched_tick_last_abstime:d} interval:{g.sched_tick_interval:d}\n".format(g=kern.globals))
542 …ft: {:d}\n".format(share_fg_shift, share_df_shift, share_ut_shift, share_bg_shift, g=kern.globals))
543 …imit:d} sched_decay_usage_age_factor: {g.sched_decay_usage_age_factor:d}\n".format(g=kern.globals))
546 print("debugger_entry_time: {g.debugger_entry_time:d}\n".format(g=kern.globals))
554 threads = [t for t in IterateQueue(kern.globals.threads, 'thread *', 'threads')]
561 for thread in IterateQueue(kern.globals.threads, 'thread *', 'threads'):
688 node = addressof(kern.globals.pset_node0)
695 sched_string = str(kern.globals.sched_string)
722 run_buckets = kern.globals.sched_run_buckets
729 …:d} Runnable threads: {:d} Fixpri threads: {:d}\n".format(run_count, fixpri_count, g=kern.globals))
738 if hasattr(kern.globals, "multiq_sanity_check"):
739 …and limit {g.drain_band_limit:d}, sanity check {g.multiq_sanity_check:d}\n".format(g=kern.globals))
741 …, depth limit {g.drain_depth_limit:d}, band limit {g.drain_band_limit:d}\n".format(g=kern.globals))
773 … for group in IterateQueue(kern.globals.sched_groups, "sched_group_t", "sched_groups"):
780 processor_array = kern.globals.processor_array
853 …print("\nCrashed Threads Queue: ({:<#012x})\n".format(addressof(kern.globals.crashed_threads_queue…
855 …for thread in ParanoidIterateLinkageChain(kern.globals.crashed_threads_queue, "thread_t", "runq_li…
871 dump_mpsc_thread_queue("Terminate Queue", kern.globals.thread_terminate_queue)
872 dump_mpsc_thread_queue("Waiting For Kernel Stacks Queue", kern.globals.thread_stack_queue)
873 dump_mpsc_thread_queue("Thread Exception Queue", kern.globals.thread_exception_queue)
874 dump_mpsc_thread_queue("Thread Deallocate Queue", kern.globals.thread_deallocate_queue)
1133 … timer_fire = call.tc_pqlink.deadline - (recent_timestamp + kern.globals.mach_absolutetime_asleep)
1134 …soft_timer_fire = call.tc_soft_deadline - (recent_timestamp + kern.globals.mach_absolutetime_aslee…
1248 for thread in IterateQueue(kern.globals.kernel_task.threads, 'thread *', 'task_threads'):
1332 group = addressof(kern.globals.thread_call_groups[i])