def calc_max_cpu(records):
    """ Returns the CPU usage at the max temperature, ever

    :param records: a list of records of min, max temp and associated CPU avg load
    :return: a record with the highest recorded temperature, and the associated list of CPU loads
    """
    max_temp = 0
    cpu_loads = []
    for record in records:
        if record['max'] > max_temp:
            max_temp = record['max']
            cpu_loads = [100 * record['cpu']]
        elif record['max'] == max_temp:
            cpu_loads.append(100 * record['cpu'])
    return max_temp, cpu_loads