def update_profile_results(self, speedup: float, qos: float, base_qos: float):
    recorded_base_qos = (self.qos + self.qos_loss)
    if (abs((recorded_base_qos - base_qos)) > 0.025):
        raise ValueError(f'Baseline QoS mismatch. Original: {recorded_base_qos}, measured: {base_qos}')
    self.speedup = speedup
    self.qos = qos
    self.qos_loss = (base_qos - qos)
def update_profile_results(self, speedup: float, qos: float, base_qos: float):
    recorded_base_qos = (self.qos + self.qos_loss)
    if (abs((recorded_base_qos - base_qos)) > 0.025):
        raise ValueError(f'Baseline QoS mismatch. Original: {recorded_base_qos}, measured: {base_qos}')
    self.speedup = speedup
    self.qos = qos
    self.qos_loss = (base_qos - qos)