Lines Matching refs:step
90 def add_step(self, step, state, time): argument
92 self.steps_start[step] = time
94 self.steps_end[step] = time
95 if step in self.steps_start and step in self.steps_end:
96 self.steps_duration[step] = self.steps_end[step] - self.steps_start[step]
98 def get_duration(self, step=None): argument
99 if step is None:
101 for step in list(self.steps_duration.keys()):
102 duration += self.steps_duration[step]
104 if step in self.steps_duration:
105 return self.steps_duration[step]
122 for step in steps:
125 val.append(p.get_duration(step))
221 for step in steps:
224 val += p.get_duration(step)
265 step = row[2].strip()
273 p.add_step(step, state, time)