Lines Matching refs:cls
114 def add_filter(cls, filter): argument
115 cls.fobj = filter
118 def create_pending(cls, pid, comm, start_secs, start_nsecs): argument
121 head = cls.heads[pid]
124 if cls.fobj != None:
125 filtered = cls.fobj.filter(pid, comm)
126 head = cls.heads[pid] = chead(comm, pid, filtered)
132 def increment_pending(cls, pid, migrated, fscan, mscan): argument
133 head = cls.heads[pid]
141 def complete_pending(cls, pid, secs, nsecs): argument
142 head = cls.heads[pid]
150 def gen(cls): argument
152 for i in cls.heads:
153 yield cls.heads[i]
156 def str(cls): argument
157 return cls.val