'Returns the current CPU state of the host with frequency.'

def get_cpu_stats(self):

    stats = self.get_connection().getCPUStats(libvirt.VIR_NODE_CPU_STATS_ALL_CPUS, 0)
    stats['frequency'] = self._get_hardware_info()[3]
    return stats
