def __repr__(self) -> str:
    header_fields = [self.conf_name, self.speedup, self.energy, self.qos, self.qos_loss]
    header = ' '.join((str(field) for field in header_fields))
    lines = [conf_opening, header, *self.config_body, conf_closing]
    return '\n'.join(lines)
def __repr__(self) -> str:
    header_fields = [self.conf_name, self.speedup, self.energy, self.qos, self.qos_loss]
    header = ' '.join((str(field) for field in header_fields))
    lines = [conf_opening, header, *self.config_body, conf_closing]
    return '\n'.join(lines)