Lines Matching refs:plan
144 plan = kern.GetGlobalVariable('recount_' + name + '_plan')
145 topo = plan.rpl_topo
272 plan = RecountPlan('task_terminated')
274 for usage in plan.usages(task.tk_recount.rtk_terminated):
280 plan = RecountPlan('thread')
282 for usage in plan.track_usages(thread.th_recount.rth_lifetime):
287 def print_threads(plan, thread_ptrs, indent=False, O=None): # noqa: E741 argument
293 with O.table(plan.usage_header(), indent=indent):
294 print(plan.format_tracks(thread.th_recount.rth_lifetime, O=O))
299 plan = RecountPlan('thread', mach_times='-M' in cmd_options)
300 print_threads(plan, thread_ptrs, indent=indent, O=O)
328 plan = RecountPlan('task', mach_times=mach_times)
335 with O.table(plan.usage_header()):
336 print(plan.format_tracks(task.tk_recount.rtk_lifetime, O=O))
349 plan = RecountPlan('coalition', mach_times='-M' in cmd_options)
353 with O.table(plan.usage_header()):
354 print(plan.format_usages(coal.r.co_recount.rco_exited, O=O))
384 plan = RecountPlan('processor', mach_times=mach_times)
395 with O.table(hdr_prefix + plan.usage_header() + hdr_suffix):
415 ' ' + plan.time_fmt().format(idle_time) + ' ' +
416 plan.time_fmt().format(total_time) +
418 O.write(prefix + plan.format_usage(usage, O=O) + suffix + '\n')