tools/perf/cli_tools/tbmv3/validate_tbmv3_metric.py
def CursorErase(length):
  """Erase |length| chars starting from cursor."""
  for _ in range(length):
    sys.stdout.write('\b')
  # Add 80 spaces, because \b only moves back the cursor.
  for _ in range(80):
    sys.stdout.write(' ')
  for _ in range(80):
    sys.stdout.write('\b')
  sys.stdout.flush()
Erase |length| chars starting from cursor.
Erase |length| chars starting from cursor.
Erase |length| chars starting from cursor .
def CursorErase(length):
  for _ in range(length):
    sys.stdout.write('\b')
  for _ in range(80):
    sys.stdout.write(' ')
  for _ in range(80):
    sys.stdout.write('\b')
  sys.stdout.flush()
def CursorErase ( length ) : for _ in range ( length ) : sys . stdout . write ( '\b' ) for _ in range ( 80 ) : sys . stdout . write ( ' ' ) for _ in range ( 80 ) : sys . stdout . write ( '\b' ) sys . stdout . flush ( )
Erase |length| chars starting from cursor.
Erase |length| chars starting from cursor .
"""Erase |length| chars starting from cursor.""" # Add 80 spaces, because \b only moves back the cursor.
length