Lines Matching refs:plan
200 plan = kern.GetGlobalVariable("recount_" + name + "_plan")
201 topo = plan.rpl_topo
394 plan = RecountPlan("task_terminated")
396 for usage in plan.usages(task.tk_recount.rtk_terminated):
402 plan = RecountPlan("thread")
404 for usage in plan.track_usages(thread.th_recount.rth_lifetime):
409 def print_threads(plan, thread_ptrs, indent=False, O=None): # noqa: E741 argument
420 with O.table(plan.usage_header(), indent=indent):
421 print(plan.format_tracks(thread.th_recount.rth_lifetime, O=O))
425 plan = RecountPlan("thread", mach_times="-M" in cmd_options)
426 print_threads(plan, thread_ptrs, indent=indent, O=O)
453 plan = RecountPlan("task", mach_times=mach_times)
460 with O.table(plan.usage_header()):
461 print(plan.format_tracks(task.tk_recount.rtk_lifetime, O=O))
474 plan = RecountPlan("coalition", mach_times="-M" in cmd_options)
478 with O.table(plan.usage_header()):
479 print(plan.format_usages(coal.r.co_recount.rco_exited, O=O))
508 plan = RecountPlan("processor", mach_times=mach_times)
525 with O.table(hdr_prefix + plan.usage_header() + hdr_suffix):
545 + plan.time_fmt().format(idle_time)
547 + plan.time_fmt().format(total_time)
550 usage_lines = plan.format_usage(usage, O=O)