func (p *Progress) SetProcessed(processed int) {
	p.mutex.Lock()
	defer p.mutex.Unlock()

	p.processed = processed
	p.calculatePercent()
}
// SetProcessed sets the number of work units completed. This is used to
// calculate the progress percentage.
SetProcessed sets the number of work units completed. This is used to
calculate the progress percentage.
// SetProcessed sets the number of work units completed . This is used to // calculate the progress percentage .
func (p *Progress) SetProcessed(processed int) {
	p.mutex.Lock()
	defer p.mutex.Unlock()
	p.processed = processed
	p.calculatePercent()
}
func ( p * Progress ) SetProcessed ( processed int ) { p . mutex . Lock ( ) defer p . mutex . Unlock ( ) p . processed = processed p . calculatePercent ( ) }
SetProcessed sets the number of work units completed.
SetProcessed sets the number of work units completed .