From patchwork Thu May 26 01:59:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yingya Han X-Patchwork-Id: 111873 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 83BA6A0548; Thu, 26 May 2022 03:59:59 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 52E9340150; Thu, 26 May 2022 03:59:59 +0200 (CEST) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 91BB740146 for ; Thu, 26 May 2022 03:59:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653530398; x=1685066398; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=8lDNhhf7Eq6TAwBXHCd/bejJOZZ9CDYXXcP9qTiQgeg=; b=k18YJlv9B/gkdaW0+hW+1yzedagNJygQP2lQDG/nQ/feygjENj2f3s/U FyPiLZAywP3jKkDFJO+GaSlnM7akifFLVgfBxUL0aSlDDo7e50n6sOxVB bMykVht3QTochsUKrya7MEnArLknlb1Y4QhRlKpgnS1sva23dOPNXiy7E tuGsO/2H5XjBAwV3D4dFOmfQIIr778AD75ghAEoTh/lzLQrl157zkL1Dl DU/eArMHHSKpjwGVbnSbTcw3R3pPixVI8cmIEECw2EWTEzYiIqKScNQKo 22d8QvZe0d7GwnIA+9xbzIj4ijCmnuLmrea6QZnQzNtaPnudd+vMvhWhW Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10358"; a="334636712" X-IronPort-AV: E=Sophos;i="5.91,252,1647327600"; d="scan'208";a="334636712" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 May 2022 18:59:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,252,1647327600"; d="scan'208";a="602659836" Received: from dpdk-lijuan-icelake4.sh.intel.com ([10.67.118.254]) by orsmga008.jf.intel.com with ESMTP; 25 May 2022 18:59:56 -0700 From: Yingya Han To: dts@dpdk.org Cc: Yingya Han Subject: [dts][PATCH V2]tests/perf_test_bas_basee: remove duplicate cores Date: Thu, 26 May 2022 09:59:53 +0800 Message-Id: <20220526015953.3702986-1-yingyax.han@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Signed-off-by: Yingya Han --- 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( [