Lines Matching full:progress
2 BitBake progress handling code
41 progress of some operation.
60 """Internal function to fire the progress event"""
69 def update(self, progress, rate=None): argument
71 if progress > 100:
72 progress = 100
73 if progress != self._progress or self._lastevent + 1 < ts:
74 self._fire_progress(progress, rate)
76 self._progress = progress
82 the lines if they contain progress information. Additionally, it
85 getting progress, assuming that that can be done on a per-line
97 # for the case when the line with progress ends with only '\r'
118 # Send an initial progress event so the bar gets shown
124 progress = int(percs[-1])
125 self.update(progress)
133 # Send an initial progress event so the bar gets shown
139 progress = (float(nums[-1][0]) / float(nums[-1][1])) * 100
140 self.update(progress)
146 Class which allows reporting progress without the caller
149 classes / functions - the progress reporter object can
155 Initialise the progress reporter.
174 # Send an initial progress event so the bar gets shown
197 * stage_total: optional total for progress within the stage,
222 Update progress within the current stage.
224 * stage_progress: progress value within the stage. If stage_total
229 progress = None
235 progress = self._base_progress + (stage_progress * self._stage_weights[self._stage])
237 progress = self._base_progress
238 if progress:
239 if progress > 100:
240 progress = 100
241 self._fire_progress(progress)