Lines Matching refs:sample
205 sample = lib.GetNextSample()
206 if sample is None:
209 if not self._filter_sample(sample):
224 def _filter_sample(self, sample): argument
227 if sample.thread_comm not in self.comm_filter:
230 if sample.pid not in self.pid_filter:
233 if sample.tid not in self.tid_filter:
260 sample = lib.GetNextSample()
261 if sample is None:
264 if not self._filter_sample(sample):
266 self._generate_periods_for_sample(lib, sample)
269 def _generate_periods_for_sample(self, lib, sample): argument
285 period = Period(sample.period, sample.period)
288 period = Period(0, sample.period)
311 self.period += sample.period