Lines Matching refs:plan
168 plan = kern.GetGlobalVariable('recount_' + name + '_plan')
169 topo = plan.rpl_topo
333 plan = RecountPlan('task_terminated')
335 for usage in plan.usages(task.tk_recount.rtk_terminated):
341 plan = RecountPlan('thread')
343 for usage in plan.track_usages(thread.th_recount.rth_lifetime):
348 def print_threads(plan, thread_ptrs, indent=False, O=None): # noqa: E741 argument
354 with O.table(plan.usage_header(), indent=indent):
355 print(plan.format_tracks(thread.th_recount.rth_lifetime, O=O))
360 plan = RecountPlan('thread', mach_times='-M' in cmd_options)
361 print_threads(plan, thread_ptrs, indent=indent, O=O)
389 plan = RecountPlan('task', mach_times=mach_times)
396 with O.table(plan.usage_header()):
397 print(plan.format_tracks(task.tk_recount.rtk_lifetime, O=O))
410 plan = RecountPlan('coalition', mach_times='-M' in cmd_options)
414 with O.table(plan.usage_header()):
415 print(plan.format_usages(coal.r.co_recount.rco_exited, O=O))
445 plan = RecountPlan('processor', mach_times=mach_times)
458 with O.table(hdr_prefix + plan.usage_header() + hdr_suffix):
477 ' ' + plan.time_fmt().format(idle_time) + ' ' +
478 plan.time_fmt().format(total_time) +
480 usage_lines = plan.format_usage(usage, O=O)