1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-10-30 06:34:13 +00:00

LinuxDevice: Remove duplicate method and rename for consistency

These function were duplicated of each other so one has been removed and the
remaining methods renamed for consistency with WA terminology and the relevant
calls updated.
This commit is contained in:
Marc Bonnici
2017-06-12 17:27:21 +01:00
parent 0683427acd
commit 37d99e4a5d
2 changed files with 4 additions and 18 deletions

View File

@@ -650,7 +650,7 @@ class EnergyModelInstrument(Instrument):
def enable_all_cores(self):
counter = Counter(self.device.core_names)
for core, number in counter.iteritems():
self.device.set_number_of_online_cpus(core, number)
self.device.set_number_of_online_cores(core, number)
self.big_cpus = self.device.get_online_cpus(self.big_core)
self.little_cpus = self.device.get_online_cpus(self.little_core)