| Index: build/android/pylib/perf/perf_control_unittest.py
|
| diff --git a/build/android/pylib/perf/perf_control_unittest.py b/build/android/pylib/perf/perf_control_unittest.py
|
| index 7bdc962a48f9cfae289f5f58579369b5ac66a3f8..9333dbce85f9bebe2ff3dd9a9b20384c578518b7 100644
|
| --- a/build/android/pylib/perf/perf_control_unittest.py
|
| +++ b/build/android/pylib/perf/perf_control_unittest.py
|
| @@ -27,7 +27,7 @@ class TestPerfControl(unittest.TestCase):
|
| perf = perf_control.PerfControl(self._device)
|
| try:
|
| perf.SetPerfProfilingMode()
|
| - for cpu in range(perf._NumCpuCores):
|
| + for cpu in range(perf._num_cpu_cores):
|
| path = perf_control.PerfControl._CPU_ONLINE_FMT % cpu
|
| self.assertEquals('1',
|
| self._device.old_interface.GetFileContents(path)[0])
|
|
|