[dts][PATCH V2]tests/perf_test_bas_basee: remove duplicate cores

Yingya Han yingyax.han at intel.com
Thu May 26 03:59:53 CEST 2022


Signed-off-by: Yingya Han <yingyax.han at intel.com>
---
 tests/perf_test_base.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/perf_test_base.py b/tests/perf_test_base.py
index d60572e0..c108a228 100644
--- a/tests/perf_test_base.py
+++ b/tests/perf_test_base.py
@@ -1362,6 +1362,7 @@ class PerfTestBase(object):
                 # ignore first 2 cores
                 _corelist = (corelist * (total // len(corelist) + 1))[:total]
                 [grp[index].append(core) for index, core in enumerate(_corelist)]
+                _corelist = list(set(_corelist))
                 [
                     configs.append(
                         [
-- 
2.25.1



More information about the dts mailing list