Lines Matching refs:uth
46 def GetWQThreadSummary(th, uth): argument
51 if uth.uu_workq_flags & 0x01: uu_workq_flags.append("NEW")
52 if uth.uu_workq_flags & 0x02:
54 if wq.wq_creator == uth:
60 …ts = kern.GetNanotimeFromAbstime(GetRecentTimestamp() - uth.uu_save.uus_workq_park_data.idle_stamp…
63 if uth.uu_workq_flags & 0x04: uu_workq_flags.append("DYING")
64 if uth.uu_workq_flags & 0x08: uu_workq_flags.append("OVERCOMMIT")
65 if uth.uu_workq_flags & 0x100: uu_workq_flags.append("COOPERATIVE")
66 if uth.uu_workq_flags & 0x200: uu_workq_flags.append("PERMANENT_BIND")
67 if uth.uu_workq_flags & 0x400: uu_workq_flags.append("WORK_INTERVAL_JOINED")
68 if uth.uu_workq_flags & 0x800: uu_workq_flags.append("WORK_INTERVAL_FAILED")
69 if uth.uu_workq_flags & 0x10: uu_workq_flags.append("OUTSIDE_QOS")
70 if uth.uu_workq_flags & 0x20: uu_workq_flags.append("IDLE_CLEANUP")
71 if uth.uu_workq_flags & 0x40: uu_workq_flags.append("EARLY_BOUND")
72 if uth.uu_workq_flags & 0x80: uu_workq_flags.append("CPU%")
74 kqr = uth.uu_kqr_bound
87 …s} {kq: <#020x} {idle: <10s} {uu_workq_flags: <30s}".format(th=th, uth=uth, thport=uth.uu_workq_th…
185 for uth in IterateTAILQ_HEAD(wq.wq_thrunlist, "uu_workq_entry"):
186 print(GetWQThreadSummary(GetMachThread(uth), uth))
187 for uth in IterateTAILQ_HEAD(wq.wq_thidlelist, "uu_workq_entry"):
188 print(GetWQThreadSummary(GetMachThread(uth), uth))
189 for uth in IterateTAILQ_HEAD(wq.wq_thnewlist, "uu_workq_entry"):
190 print(GetWQThreadSummary(GetMachThread(uth), uth))