From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.57.32 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796114189; b=tGhPuG+8dOAygvTZx2fAHla/R75KkEMfcjAvbCu7v9YU6EiU2unfXuiNu8POFnFjuGiD lSwXmbKmrLxWyge6kBBY0ZcYKd5IUzKFIcqoHiwmiCYVb1ONAAYpK1Mv42zQY0UpwKrXJ BXeBIIjw9jmfac34u6ia00+VLoc0rt7Bg6GE0vqCtHKvTSfjDdTy7iBPrWyG5HzD5JecL uwal6CwqtnsT14g34RUNHG3TeysUBIUUTmKQK2s55fgOGXrmnCMY6XG2VrY2ahbp9G2v+ GLmBkCbID45NlzYGr7wncGX1Q/Ra2/spnaNRqFJ944KumZN2OsJE8uYbL8lEbQVl6iw== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796114189; h=DMARC-Filter:DKIM-Signature:Received:Received: X-MS-Exchange-Authentication-Results:Received-SPF:Received:Received: From:To:CC:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding:Content-Type:X-Originating-IP: X-ClientProxiedBy:X-EOPAttributedMessage:X-MS-PublicTrafficType: X-MS-TrafficTypeDiagnostic:X-MS-Office365-Filtering-Correlation-Id: X-MS-Exchange-SenderADCheck:X-MS-Exchange-AntiSpam-Relay: X-Microsoft-Antispam:X-Microsoft-Antispam-Message-Info: X-Forefront-Antispam-Report: X-MS-Exchange-AntiSpam-MessageData-ChunkCount: X-MS-Exchange-AntiSpam-MessageData-0:X-OriginatorOrg: X-MS-Exchange-CrossTenant-OriginalArrivalTime: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-Id: X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: X-MS-Exchange-CrossTenant-AuthSource:X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-FromEntityHeader: X-MS-Exchange-Transport-CrossTenantHeadersStamped; bh=wn9BCnMygCnwbS75N1nXTrl0CFBYOKkpjWtdHxpGp0w=; b=OqLoBkVOIwWC0R5DMBc/e7IjzGz5phu4QU+bBFh+u84YHsUz43hAVONTd+EVMKqrM1d6 xDE4ThX1azWaIeFNWMUpXbrnyPbV9w0gYkK1eW4lxSACMKiiHMtIrtBPAvqbHDYntp+kW QMROa6J4NVzrseyL2DrGde0SBnCDOGR+mDn/yeXhiGU9fEFUP6JNSeELVZhpDuuxua2Ep cU6tpOfK0z/oNA03BX5k8H32wlnY0hlglM5vSROiexSbIx5mGpoqx7t87Cmh+AgMYDO+W RQW7lJhE1laE7QTUFcsH52cx3d2rBJb46LmuQYuxaKmK8VN2Q/4seA4ylh+Y33psEDg== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass header.from=amd.com; spf=fail smtp.mailfrom=amd.com; dkim=pass header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b=KAdkb+4R; arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.57.32 Received: from BN8PR05CU002.outbound.protection.outlook.com (mail-eastus2azon11011032.outbound.protection.outlook.com [52.101.57.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (secp384r1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 983CF606A330; Tue, 1 Dec 2026 08:36:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 983CF606A330 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b=KAdkb+4R ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=y4cRPfhL0uDgje3Uuirkh9W3azyz8PLYokkRq9VW+vatViX6Gdxw+psUy/JwMuaeE2ONR2NqLSVw35XXOTTB/AerZTNqamB2CVxVhxzWv0oCDWgPfg6EzL9Z4ysiPgqqOyTF5V6X8zPx0vkLmDSZH2rZXsYNzuGYPkBp6i1DaEJ07DeYF9XFbkMF8Rw+iIT1GTGfuuZmZq+8QKi6I1Gy1wF204Na7ng8//Zu5kHS7Mof5E/LKZx5lK704MT89rcB2bzSJVGvbRcul2x8IJf4w6NmIX8yzQkRAxJq5m8jtiMBCCVmzDwgVhGuiYrU2Rq+zQ5eNOGR1pdK3UQlTS07Hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=wn9BCnMygCnwbS75N1nXTrl0CFBYOKkpjWtdHxpGp0w=; b=JSunEGxWvYgD06ghEdXc28Clf56M3cCXONZI/6uHxW+HucVfdGbLqyFDNDROEc3WpgbkRWKIboGAnoRLvSBeTqkoYv3P4aDJz/cSyFaYMjEBBB9LUc8YUuf7UYFktSptZUdrCjb7gZTH5787OWnGXCq3hSEe88j3kaB2gsWuq8j1CxZf8wEjcVPVgBXyxYj5KzkS86qDf0VXombfNX0KWwLtxI3YlPnU1FszVAFuGSSm69gV9cviwnJbsPYaAqjh+vPZyPU9Y7GkO5yr089VtrAkUmiMfByC9yJ/28FOCDbxITcffj/5pEqEsuALKTI7vkxZq+iZnXX2A6CxNUBZag== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=intel.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wn9BCnMygCnwbS75N1nXTrl0CFBYOKkpjWtdHxpGp0w=; b=KAdkb+4RYkd918HfadjY79wJw/DO/tvmjssEyXfOj9h8N9LEzlO+C1mO7vBvt7Lca2HTcXAytbC91xa6zb3RSVHjFSDcNOFB5WPistTt2wQCmDOg2JP4+ZaWK5h0hSfcDKPG749QneMPw7piwVRmFevvU5jLlWCELOHgIztYi0k= Received: from SJ2PR07CA0001.namprd07.prod.outlook.com (2603:10b6:a03:505::11) by BY5PR12MB4113.namprd12.prod.outlook.com (2603:10b6:a03:207::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.662.13; Tue, 1 Dec 2026 08:36:23 +0000 Received: from SJ1PEPF000037A3.namprd04.prod.outlook.com (2603:10b6:a03:505:cafe::7a) by SJ2PR07CA0001.outlook.office365.com (2603:10b6:a03:505::11) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.688.10 via Frontend Transport; Tue, 1 Dec 2026 08:36:23 +0000 X-MS-Exchange-Authentication-Results: mx.microsoft.com 1; spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=satlexmb07.amd.com; pr=C Received: from satlexmb07.amd.com (165.204.84.17) by SJ1PEPF000037A3.mail.protection.outlook.com (10.167.244.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.688.5 via Frontend Transport; Tue, 1 Dec 2026 08:36:23 +0000 Received: from tapi.amd.com (10.180.168.240) by satlexmb07.amd.com (10.181.42.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57; Tue, 1 Dec 2026 02:36:19 -0600 From: Swapnil Sapkal To: , , , , CC: , , , , , , , , Subject: [PATCH v6 4/5] selftests/resctrl: Use bandwidth values for AMD MBA schemata Date: Tue, 1 Dec 2026 08:34:25 +0000 Message-ID: <20261201083426.26730-5-swapnil.sapkal@amd.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20261201083426.26730-1-swapnil.sapkal@amd.com> References: <20261201083426.26730-1-swapnil.sapkal@amd.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: satlexmb08.amd.com (10.181.42.217) To satlexmb07.amd.com (10.181.42.216) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ1PEPF000037A3:EE_|BY5PR12MB4113:EE_ X-MS-Office365-Filtering-Correlation-Id: 1e2be6dd-0ee6-474d-f815-08df4f862e7d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|23010399003|1800799024|7416014|376014|36860700016|6133799003|18002099003|22082099003|3023799007|10067099003|11063799006|56012099006|261102123227099003|261028144727099003|261021123027099003|261026121527099003|261022105027099003|261021121427099003|261022113327099003|261026140227099003|261022075727099003|261009223027099003; X-Microsoft-Antispam-Message-Info: 8jegTOtF31fVsTu+EhS2vYjSr7vBR11h2akX7FPiHeVBS56zpzhcr2pmBjZ8LHWvMQlLPO6PleCjhRHpInYt7JUrK645kmOlSb4xIPYX0pjZZ5/qGMoPKiL2IkCUYqlaJ27oywslUXPwfiQ3BeW6W/ZI2AquJ8JFoZcsTBwVkmBrFtzSEKQzloVFpA6ubRDFr9aw94pnMm3mCGCfI903fjr/A1lauxGn7eWPjrh16Uv8SvLB2z4pzLydVKoInqHkx2n6Gg9xeYDlUn7xftg9v6569tRSX7h2+XAKWaFAxp4QwTPrsOJEGup+wczPbpMeVaduU1RUD3QUB/kCLD/FBV+lgmF4qsHIFP/3CXTL9b7nlUtNpuhlZaFiicajCIAh0o0Lae7fOjw3R/kztn5kHrTX1acL88jGWizey5LlSIS3j3zF/fwgwF2smwHP0sS72ShIZF2NHIru1608J1b88rsGSJTY8xYWcDmRCzatIPHw1vNbzBJrXDYoSCpIzlUee17RcE3NTGGiD+5LLZJPzzWtoJE1Vx9RYI/4m63RFyScKiHDnedCQO2rQKeM3IutoEOF3s9XeAdWhtKPH/+7jvoXcpQLy1CoUO+lVvFZwq7tPybiQZjBcwRWr0KqpIBWma65EgNMwH/ubCl6ckdhR9xkiblVpBtLHj7vJGmEimlLwVo0xkizjYDwnKMPQg16zgnAYiLb9g3eAvxdZDlbRw== X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:satlexmb07.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(82310400026)(23010399003)(1800799024)(7416014)(376014)(36860700016)(6133799003)(18002099003)(22082099003)(3023799007)(10067099003)(11063799006)(56012099006)(261102123227099003)(261028144727099003)(261021123027099003)(261026121527099003)(261022105027099003)(261021121427099003)(261022113327099003)(261026140227099003)(261022075727099003)(261009223027099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: oh0j1DE/CGPsOc4FQDpU+S1WW4A2q7KqLHd17/NhTyplGzm30LvmulgrDTfZDAEDhIhmOapfhiSbUy/VbdsiIQLrC41H7K94BQXmjGyAhYG1ndpEKLFuaSwlozk8wA0kH8KVciuRwm94Ha/X4gDdHaRjH9qqmQ4dY7NgBemvxY4JbZImzhUeHawJlYXzybbcHtNHekHHvhAQ8xfwAjRF5ndrQsl/Zz9kzvU96dnyECDisVfarVFbzLtGrw0r37Lxd8nPaxW8vLN+cUwaSaSHn+PPST3L477GzzkiTW1e4p47bX98BkzhHY3ztJtKzBLARsjZ+tmuZ4p8uyGLZaB2AcyOfe3nQg1EtMolWDl+3MZ5PrQ4w1t5/KmfZn9gNtTfiHpaZ92YINMSXidGLsR64xkmuVf9VvE5qblyo5NgCLGEaeyW+lNhdATMCE4mBHd3 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Dec 2026 08:36:23.2854 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1e2be6dd-0ee6-474d-f815-08df4f862e7d X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[satlexmb07.amd.com] X-MS-Exchange-CrossTenant-AuthSource: SJ1PEPF000037A3.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4113 MBA (Memory Bandwidth Allocation) throttles memory bandwidth using a percentage, so the MBA test sweeps the schemata from 10% to 100% in steps of 10%. AMD MBA instead uses an absolute memory bandwidth value. Sweep the AMD MBA schemata from 4 GB/s to 40 GB/s in steps of 4 GB/s. The hardware represents these in units of 1/8 GB/s, so the test writes 32, 64, ... up to 320. The number of allocations swept (10), and hence the number of measurements, stays the same for both. Select the minimum and step of the sweep based on the vendor and walk the sweep by index so that both mba_setup() and show_mba_info() are bounded by NUM_OF_ALLOCS. Signed-off-by: Swapnil Sapkal --- v5->v6: - Dropped "Intel" from the description of the percentage based interface, which is the generic interface. (Reinette) - Walk the sweep by index: mba_setup() now computes mba_alloc_min() + mba_alloc_step() * alloc_idx and is bounded by NUM_OF_ALLOCS, matching show_mba_info(). This drops the static accumulator and its 'allocation == 0' sentinel (0 is a valid minimum) and makes mba_alloc_max() unnecessary. (Reinette) - Defined NUM_OF_ALLOCS as a plain 10 rather than deriving an architecture neutral count from the percentage constants. (Reinette) - Dropped ALLOCATION_MAX, AMD_ALLOCATION_MAX and the build time checks on them. Now that the sweep is bounded by NUM_OF_ALLOCS it always produces exactly NUM_OF_ALLOCS allocations whatever the per vendor constants are, so the checks could no longer catch anything and the two maximums had no remaining user: a sweep is fully described by its minimum, its step and NUM_OF_ALLOCS. - Renamed the show_mba_info() loop variable to alloc_idx and compute the allocation once; fixed reverse fir order there and in check_results(). (Reinette) - Dropped the "Got more results than expected" bounds check: it was unrelated to AMD enablement and its message implied a failure while the test continued. (Reinette) v4->v5: - New patch. tools/testing/selftests/resctrl/mba_test.c | 66 +++++++++++++++------- 1 file changed, 46 insertions(+), 20 deletions(-) diff --git a/tools/testing/selftests/resctrl/mba_test.c b/tools/testing/selftests/resctrl/mba_test.c index 17ae73d3476c..ca87396671f0 100644 --- a/tools/testing/selftests/resctrl/mba_test.c +++ b/tools/testing/selftests/resctrl/mba_test.c @@ -13,10 +13,32 @@ #define RESULT_FILE_NAME "result_mba" #define NUM_OF_RUNS 5 #define MAX_DIFF_PERCENT 15 -#define ALLOCATION_MAX 100 + +/* MBA is specified as a percentage: 10%, 20% ... 100%. */ #define ALLOCATION_MIN 10 #define ALLOCATION_STEP 10 +/* + * AMD MBA is not a percentage but an absolute memory bandwidth value, which + * the hardware represents in units of 1/8 GB/s. Sweep the bandwidth from + * 4 GB/s in steps of 4 GB/s, i.e. 32, 64 ... up to 320 (40 GB/s). + */ +#define AMD_ALLOCATION_MIN 32 +#define AMD_ALLOCATION_STEP 32 + +/* Number of MBA schemata allocations to sweep (same for both vendors). */ +#define NUM_OF_ALLOCS 10 + +static unsigned int mba_alloc_min(void) +{ + return get_vendor() == ARCH_AMD ? AMD_ALLOCATION_MIN : ALLOCATION_MIN; +} + +static unsigned int mba_alloc_step(void) +{ + return get_vendor() == ARCH_AMD ? AMD_ALLOCATION_STEP : ALLOCATION_STEP; +} + static int mba_init(const struct resctrl_test *test, const struct user_params *uparams, const struct resctrl_val_param *param, int domain_id) @@ -33,17 +55,20 @@ static int mba_init(const struct resctrl_test *test, } /* - * Change schemata percentage from 100 to 10%. Write schemata to specified - * con_mon grp, mon_grp in resctrl FS. + * Sweep the MBA schemata over NUM_OF_ALLOCS allocations, from the minimum + * allocation upwards in steps. The allocation is a percentage (10% .. 100%) + * or, on AMD, an absolute memory bandwidth value (4 GB/s .. 40 GB/s). Write + * schemata to the specified con_mon grp, mon_grp in resctrl FS. * For each allocation, run 5 times in order to get average values. */ static int mba_setup(const struct resctrl_test *test, const struct user_params *uparams, struct resctrl_val_param *p) { - static unsigned int allocation = ALLOCATION_MIN; static int runs_per_allocation; + static unsigned int alloc_idx; char allocation_str[64]; + unsigned int allocation; int ret; if (runs_per_allocation >= NUM_OF_RUNS) @@ -53,17 +78,18 @@ static int mba_setup(const struct resctrl_test *test, if (runs_per_allocation++ != 0) return 0; - if (allocation > ALLOCATION_MAX) + if (alloc_idx >= NUM_OF_ALLOCS) return END_OF_TESTS; - sprintf(allocation_str, "%d", allocation); + allocation = mba_alloc_min() + mba_alloc_step() * alloc_idx; + alloc_idx++; + + sprintf(allocation_str, "%u", allocation); ret = write_schemata(p->ctrlgrp, allocation_str, uparams->cpu, test->resource); if (ret < 0) return ret; - allocation += ALLOCATION_STEP; - return 0; } @@ -75,21 +101,23 @@ static int mba_measure(const struct user_params *uparams, static bool show_mba_info(unsigned long *bw_mc, unsigned long *bw_resc) { - unsigned int allocation; + unsigned int alloc_step = mba_alloc_step(); + unsigned int alloc_min = mba_alloc_min(); + unsigned int alloc_idx; bool ret = false; int runs; ksft_print_msg("Results are displayed in (MB)\n"); - /* Memory bandwidth from 100% down to 10% */ - for (allocation = 0; allocation < ALLOCATION_MAX / ALLOCATION_STEP; - allocation++) { + /* Memory bandwidth for each of the swept MBA allocations */ + for (alloc_idx = 0; alloc_idx < NUM_OF_ALLOCS; alloc_idx++) { + unsigned int allocation = alloc_min + alloc_step * alloc_idx; unsigned long sum_bw_mc = 0, sum_bw_resc = 0; long avg_bw_mc, avg_bw_resc; int avg_diff_per; float avg_diff; - for (runs = NUM_OF_RUNS * allocation; - runs < NUM_OF_RUNS * allocation + NUM_OF_RUNS ; runs++) { + for (runs = NUM_OF_RUNS * alloc_idx; + runs < NUM_OF_RUNS * alloc_idx + NUM_OF_RUNS ; runs++) { sum_bw_mc += bw_mc[runs]; sum_bw_resc += bw_resc[runs]; } @@ -98,8 +126,7 @@ static bool show_mba_info(unsigned long *bw_mc, unsigned long *bw_resc) avg_bw_resc = sum_bw_resc / NUM_OF_RUNS; if (avg_bw_mc < THROTTLE_THRESHOLD || avg_bw_resc < THROTTLE_THRESHOLD) { ksft_print_msg("Bandwidth below threshold (%d MiB). Dropping results from MBA schemata %u.\n", - THROTTLE_THRESHOLD, - ALLOCATION_MIN + ALLOCATION_STEP * allocation); + THROTTLE_THRESHOLD, allocation); continue; } @@ -109,8 +136,7 @@ static bool show_mba_info(unsigned long *bw_mc, unsigned long *bw_resc) ksft_print_msg("%s Check MBA diff within %d%% for schemata %u\n", avg_diff_per > MAX_DIFF_PERCENT ? "Fail:" : "Pass:", - MAX_DIFF_PERCENT, - ALLOCATION_MIN + ALLOCATION_STEP * allocation); + MAX_DIFF_PERCENT, allocation); ksft_print_msg("avg_diff_per: %d%%\n", avg_diff_per); ksft_print_msg("avg_bw_mc: %lu\n", avg_bw_mc); @@ -129,9 +155,9 @@ static bool show_mba_info(unsigned long *bw_mc, unsigned long *bw_resc) static int check_results(void) { - unsigned long bw_resc[NUM_OF_RUNS * ALLOCATION_MAX / ALLOCATION_STEP]; - unsigned long bw_mc[NUM_OF_RUNS * ALLOCATION_MAX / ALLOCATION_STEP]; char *token_array[8], output[] = RESULT_FILE_NAME, temp[512]; + unsigned long bw_resc[NUM_OF_RUNS * NUM_OF_ALLOCS]; + unsigned long bw_mc[NUM_OF_RUNS * NUM_OF_ALLOCS]; int runs; FILE *fp; -- 2.43.0