Lines Matching full:tid
129 help="filter out unneeded tasks by tid, pid or processname."
135 help="limit output to selected task by tid, pid, processname."
141 help="colorize special tasks by their pid/tid/comm."
148 help="rename task names by using tid (<tid>:<newname>,<tid>:<newname>)"
193 db["tid"] = dict()
200 db["task_info"]["tid"] = len("TID")
304 def __init__(self, pid, tid, comm, runs, acc, mean, argument
307 self.tid = tid
353 fmt += "{}{{:>{}}}".format(separator, db["task_info"]["tid"] * fix_csv_align)
371 column_titles = ("PID", "TID", "Comm")
405 for tid in sorted(db["tid"]):
412 for task in db["tid"][tid]:
433 align_helper = self.AlignmentHelper(pid, tid, comm, no_executed, time_sum,
435 self._body.append([pid, tid, comm, no_executed, time_sum, color_one_sample,
455 len_tid = db["task_info"]["tid"] * fix_csv_align
534 def __init__(self, id, tid, cpu, comm): argument
536 self.tid = tid
629 header = ("Switched-In", "Switched-Out", "CPU", "PID", "TID", "Comm", "Runtime",
648 if str(task.tid) in args.highlight_tasks_map:
649 c_row_set = _COLORS[args.highlight_tasks_map[str(task.tid)]]
654 # grey-out entries if PID == TID, they
656 # thread id (tid) do not matter
659 if task.pid == task.tid:
662 if task.tid in db["tid"]:
663 # get last task of tid
664 last_tid_task = db["tid"][task.tid][-1]
665 # feed the timespan calculate, last in tid db
678 task.pid, c_tid_set, task.tid, c_tid_reset, c_row_set, task.comm,
683 task.pid, c_tid_set, task.tid, c_tid_reset, c_row_set, task.comm,
701 tid = task.tid
702 if tid not in db["tid"]:
703 db["tid"][tid] = []
704 db["tid"][tid].append(task)
705 _record_cleanup(db["tid"][tid])
722 def _handle_task_finish(tid, cpu, time, perf_sample_dict): argument
723 if tid == 0:
725 _id = _task_id(tid, cpu)
736 # record tid, during schedule in the tid
745 if not _limit_filtered(tid, pid, task.comm) and not args.summary_only:
752 def _handle_task_start(tid, cpu, comm, time): argument
753 if tid == 0:
755 if tid in args.tid_renames:
756 comm = args.tid_renames[tid]
757 _id = _task_id(tid, cpu)
765 task = Task(_id, tid, cpu, comm)
777 def _limit_filtered(tid, pid, comm): argument
779 if str(tid) in args.filter_tasks or comm in args.filter_tasks:
784 if str(tid) in args.limit_to_tasks or comm in args.limit_to_tasks: