Lines Matching full:step
30 # package, decomposed by each step (extract, patch, configure,
41 # on each step (extract, patch, configure, etc...)
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]
109 # Generate an histogram of the time spent in each step of each
120 # Prepare the vals array, containing one entry for each step
122 for step in steps:
125 val.append(p.get_duration(step))
133 # Draw the bars, step by step
218 # each step for all packages.
221 for step in steps:
224 val += p.get_duration(step)
240 plt.title('Build time per step')
245 # Package objects, filed with the duration of each step and the total
265 step = row[2].strip()
273 p.add_step(step, state, time)