docs: def log_percent(self):
          """
          Log the progress of the computation in percentage
          """
          done = self.total - self.todo
          percent = int(float(done) / self.total * 100)
          if not hasattr(self, 'prev_percent'):  # first time
              self.prev_percent = 0
              self.progress('Sent %s of data in %d %s task(s)',
                            humansize(self.sent.sum()), self.total, self.name)
          elif percent > self.prev_percent:
              self.progress('%s %3d%% [of %d tasks]',
                            self.name, percent, len(self.tasks))
              self.prev_percent = percent
          return done