def add_values_to_run_set_xml(self, runSet, cputime, walltime, energy):
        """
        This function adds the result values to the XML representation of a runSet.
        """
        self.add_column_to_xml(runSet.xml, 'cputime', cputime)
        self.add_column_to_xml(runSet.xml, 'walltime', walltime)
        energy = intel_cpu_energy.format_energy_results(energy)
        for energy_key, energy_value in energy.items():
            self.add_column_to_xml(runSet.xml, energy_key, energy_value)
This function adds the result values to the XML representation of a runSet.