Lines Matching refs:out_str
206 out_str = ""
213 out_str += GetTaskSummary(t) +" "+ GetProcSummary(proc) + "\n"
214 if out_str != "":
216 print(out_str)
981 out_str = ''
985 out_str += "{0: <5d} ".format(fd)
986 out_str += "{0: <#18x} ".format(unsigned(proc_fd_fglob))
987 out_str += "0x{0:0>8x} ".format(unsigned(proc_fd_flags))
990 out_str += "{0: <8s} ".format(xnudefines.filetype_strings[proc_fd_ftype])
992 out_str += "?: {0: <5d} ".format(proc_fd_ftype)
993 out_str += "{0: <#18x} ".format(unsigned(proc_fd_fglob_fg_data))
996 out_str += "{0: <64s}".format(fd_name)
997 out_str += "\n"
998 print(out_str)
1915 … out_str = "Processor {: <#018x} cpu_id {:>#4x} AST: {:<6s} State {:<s}{:<s}{:<s} {:<s}\n".format(
1918 return out_str
1987 out_str = ''
1988 out_str += "{: >32s} {:<2d}:".format(entry["key"], i)
1989 out_str += "{: >15d} ".format(entry["balance"])
1993 out_str += "{:12d} ".format(entry["interval_max"])
1995 out_str += " - "
1998 out_str += "{:14d} ".format(entry["lifetime_max"])
2000 out_str += " - "
2002 out_str += "{:12d} {:12d} ".format(entry["credit"], entry["debit"])
2004 out_str += "{:12d} ".format(unsigned(entry["limit"]))
2006 out_str += " - "
2009 out_str += "{:15d} ".format(entry["refill_period"])
2011 out_str += "{:9d} ".format((entry["limit"] * 100) // entry["refill_period"])
2013 out_str += "XXXXX - "
2015 out_str += " - "
2016 out_str += " - "
2019 out_str += "{:9d} ".format(entry["warn_percent"])
2021 out_str += " - "
2025 out_str += " X "
2027 out_str += " "
2029 out_str += " "
2031 out_str += "{:#8x}\n".format(entry["flags"])
2032 return out_str
2067 out_str = " [{:#08x}]\n".format(thread["address"])
2070 out_str += FormatLedgerEntrySummary(entry, i)
2071 return out_str
2110 out_str = ''
2111 out_str += "{: #08x} ".format(task["address"])
2113 out_str += "{: <5s}:\n".format(task["name"])
2115 out_str += "Invalid process\n"
2118 out_str += FormatLedgerEntrySummary(entry, i, show_footprint_interval_max)
2121 out_str += FormatThreadLedgerSummary(thread)
2122 return out_str
2335 out_str = "task = {:#x} pte = {:#x}\t".format(taskp, taskp.map.pmap.ttep)
2338 out_str += "{:s}\n".format(GetProcName(procp))
2340 out_str += "\n"
2341 print(out_str)
2352 out_str = ''
2357 out_str += "{: <#20x}".format(taskp)
2358 out_str += "{: ^10d}\n".format(taskp.ref_count.ref_count)
2360 print(out_str)
2368 out_str = ''
2382 out_str = ''
2387 out_str = "{: <#20x}".format(actp)
2388 out_str += "{: ^10s}".format(str(int(actp.sched_pri)))
2395 out_str += "{: ^10s}".format(state_str)
2396 out_str += "{: >15d}".format(actp.sched_usage)
2397 print(out_str + "\n")