def METHOD_NAME(count, total, start_time):
  """Print a progress bar to stdout."""
  now = time.time()
  size = 50
  filled = int(round(size * count / float(total)))
  percent = round(100. * count / float(total), 1)
  bar = "-" * filled + "." * (size - filled)
  sys.stdout.write("[%s] %d%% (%d of %d) %.2f sample/sec\r" %
                   (bar, percent, count, total, count / (now - start_time)))
  sys.stdout.flush()