Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp563914pxb; Wed, 6 Oct 2021 10:34:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxwG2QaqBjrPaD73/HYGVQLDyp1IlCB9xXQfEkOQvCutq5fRUT4UvL88fQkFQxt31RaVNsd X-Received: by 2002:a63:ce0f:: with SMTP id y15mr21563843pgf.249.1633541650069; Wed, 06 Oct 2021 10:34:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633541650; cv=none; d=google.com; s=arc-20160816; b=q9heljp5dWeqgj/ie+3PqtfPyI9if6fiyWbfh1ac5T6Yhf6j5ZRypddjVR8wA7pHXW fCSb6phglGzyIov/MhGlwsmksZ88T95bys3W2MJIoQ9Hj4J0HB2csOUUxuBCEZ/FXKlV UARP54UZdCi1Gwry3pE12X4kdyHLT0o0DyiSoSYx3S5Mz62XtPVURZSJPTZN2QffClxA xZVgrBezm+kbDPpDIkgeNsKifmpHA0MPLiQI+52z/RMHv+bzGRjSeLGKHKRw55fyq0Sz MyRfD32gRG1orV4pwjiNw4Gay6EuoI9nnd/TWynXQtxveXYlr/NTCAzClh3MFaH+4wN9 AZFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=PmW2aotppAcWD+GNQC57esvXfTmQEfW31UlJrnZfFos=; b=gdgF+OoDf2WXHJWm+puGkWCOqf7lt9pCHSNZYolfk4YSOOyn10xA6X+/G6EO1iol1w pHvkSZ0/9++itgjJZpRblgiM4w2y2AAf59w0z/7C9judC2OTBMFVjbhjMXyo75ndFFf6 lBgeTKdoKzaYzw0ewtKPgXtAoFtR4cm2PVhNWIclLag88BHbVYpFBjoY7KUC8NQZWDAC Nt8YCsIn3Z2DbhhZ+LDo3ofodrYcs10uz3PSywWHxIHh7a51ZS5kpW6YeKTu6pI0PIID 3x06WSfP6NwBjH1POyxjHXJOQxE57DSWvOBmDiUtjJcQch63Wdssk+lYfTsuBUcFbAtl 054Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=WxubaEBI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a187si17293544pge.330.2021.10.06.10.33.56; Wed, 06 Oct 2021 10:34:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=WxubaEBI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238245AbhJFRe7 (ORCPT + 99 others); Wed, 6 Oct 2021 13:34:59 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:7678 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231617AbhJFRe6 (ORCPT ); Wed, 6 Oct 2021 13:34:58 -0400 Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 196GXoI5007680; Wed, 6 Oct 2021 13:32:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=pp1; bh=PmW2aotppAcWD+GNQC57esvXfTmQEfW31UlJrnZfFos=; b=WxubaEBIiNCAVOptLES3mYnu8ok9SKQvfd7SWlo9GRnTJnFQTOt0iZENObyN4tt5MHnE eYAxs59VlnNMa89z3i0lT380zmu8QVCdRVqUk9wpTDFtASYmlFsoREIeqqPfCBQO9+pN N2VH4qPjOcp9wIxEOoqxPVMt6bpCslS8+NTyfeBvMPBSeXJd+QvR0AbCc07q3jlh/LIq A0T8/+xD2iZYdrFqBAGXRx5kmwuWnMsKyvMoO0ZR4YbJVANXkHau4V6wRA63s1aVH2tz VO5dqcyfBLRfhtxaxAIRK8V9Dii4Ma79ey4NqF3LHXHzCVOlMYEaAKwEuD6Sf6Wc9jHW Nw== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 3bh8cadkfn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 06 Oct 2021 13:32:57 -0400 Received: from m0098409.ppops.net (m0098409.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 196H0sW8000432; Wed, 6 Oct 2021 13:32:57 -0400 Received: from ppma01wdc.us.ibm.com (fd.55.37a9.ip4.static.sl-reverse.com [169.55.85.253]) by mx0a-001b2d01.pphosted.com with ESMTP id 3bh8cadke5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 06 Oct 2021 13:32:57 -0400 Received: from pps.filterd (ppma01wdc.us.ibm.com [127.0.0.1]) by ppma01wdc.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 196HWhQS025884; Wed, 6 Oct 2021 17:32:54 GMT Received: from b03cxnp07027.gho.boulder.ibm.com (b03cxnp07027.gho.boulder.ibm.com [9.17.130.14]) by ppma01wdc.us.ibm.com with ESMTP id 3bef2bftck-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 06 Oct 2021 17:32:54 +0000 Received: from b03ledav003.gho.boulder.ibm.com (b03ledav003.gho.boulder.ibm.com [9.17.130.234]) by b03cxnp07027.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 196HWrjT27066708 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 6 Oct 2021 17:32:53 GMT Received: from b03ledav003.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 43F246A057; Wed, 6 Oct 2021 17:32:53 +0000 (GMT) Received: from b03ledav003.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id DB2096A06F; Wed, 6 Oct 2021 17:32:50 +0000 (GMT) Received: from li-24c3614c-2adc-11b2-a85c-85f334518bdb.ibm.com (unknown [9.65.70.141]) by b03ledav003.gho.boulder.ibm.com (Postfix) with ESMTPS; Wed, 6 Oct 2021 17:32:50 +0000 (GMT) Date: Wed, 6 Oct 2021 12:32:48 -0500 From: "Paul A. Clarke" To: Kajol Jain Cc: acme@kernel.org, maddy@linux.vnet.ibm.com, rnsastry@linux.ibm.com, jolsa@redhat.com, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, atrajeev@linux.vnet.ibm.com, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH] perf vendor events power10: Add metric events json file for power10 platform Message-ID: <20211006173248.GA7389@li-24c3614c-2adc-11b2-a85c-85f334518bdb.ibm.com> References: <20211006073119.276340-1-kjain@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211006073119.276340-1-kjain@linux.ibm.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-TM-AS-GCONF: 00 X-Proofpoint-GUID: aM3lLsKA36ZuMjEeKPn_p4s6G6nNSc1j X-Proofpoint-ORIG-GUID: sb2TL9uobGwzDtPepje3e2rGmdM71cLr X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-10-06_04,2021-10-06_01,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 suspectscore=0 lowpriorityscore=0 malwarescore=0 mlxlogscore=999 priorityscore=1501 mlxscore=0 adultscore=0 impostorscore=0 spamscore=0 phishscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109230001 definitions=main-2110060110 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Kajol, On Wed, Oct 06, 2021 at 01:01:19PM +0530, Kajol Jain wrote: > Add pmu metric json file for power10 platform. Thanks for producing this! A few minor corrections, plus a number of stylistic comments below... > Signed-off-by: Kajol Jain > --- > .../arch/powerpc/power10/metrics.json | 772 ++++++++++++++++++ > 1 file changed, 772 insertions(+) > create mode 100644 tools/perf/pmu-events/arch/powerpc/power10/metrics.json > > diff --git a/tools/perf/pmu-events/arch/powerpc/power10/metrics.json b/tools/perf/pmu-events/arch/powerpc/power10/metrics.json > new file mode 100644 > index 000000000000..028c9777a516 > --- /dev/null > +++ b/tools/perf/pmu-events/arch/powerpc/power10/metrics.json > @@ -0,0 +1,772 @@ > +[ > + { > + "BriefDescription": "Percentage of cycles that are run cycles", > + "MetricExpr": "PM_RUN_CYC / PM_CYC * 100", > + "MetricGroup": "General", > + "MetricName": "RUN_CYCLES_RATE", > + "ScaleUnit": "1%" > + }, > + { > + "BriefDescription": "Average cycles per completed instruction", > + "MetricExpr": "PM_CYC / PM_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "CYCLES_PER_INSTRUCTION" > + }, > + { > + "BriefDescription": "Average cycles per instruction when dispatch was stalled for any reason", > + "MetricExpr": "PM_DISP_STALL_CYC / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "DISPATCHED_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when dispatch was stalled because there was a flush", > + "MetricExpr": "PM_DISP_STALL_FLUSH / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "DISPATCHED_FLUSH_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when dispatch was stalled because the MMU was handling a translation miss", > + "MetricExpr": "PM_DISP_STALL_TRANSLATION / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "DISPATCHED_TRANSLATION_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when dispatch was stalled waiting to resolve an instruction ERAT miss", > + "MetricExpr": "PM_DISP_STALL_IERAT_ONLY_MISS / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "DISPATCHED_IERAT_ONLY_MISS_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when dispatch was stalled waiting to resolve an instruction TLB miss", > + "MetricExpr": "PM_DISP_STALL_ITLB_MISS / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "DISPATCHED_ITLB_MISS_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when dispatch was stalled due to an icache miss", > + "MetricExpr": "PM_DISP_STALL_IC_MISS / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "DISPATCHED_IC_MISS_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when dispatch was stalled while the instruction was fetched form the local L2", s/form/from/ > + "MetricExpr": "PM_DISP_STALL_IC_L2 / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "DISPATCHED_IC_L2_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when dispatch was stalled while the instruction was fetched form the local L3", s/form/from/ > + "MetricExpr": "PM_DISP_STALL_IC_L3 / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "DISPATCHED_IC_L3_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when dispatch was stalled while the instruction was fetched from any source beyond the local L3", > + "MetricExpr": "PM_DISP_STALL_IC_L3MISS / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "DISPATCHED_IC_L3MISS_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when dispatch was stalled due to an icache miss after a branch mispredict", > + "MetricExpr": "PM_DISP_STALL_BR_MPRED_ICMISS / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "DISPATCHED_BR_MPRED_ICMISS_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when dispatch was stalled while instruction was fetched from the local L2 after suffering a branch mispredict", > + "MetricExpr": "PM_DISP_STALL_BR_MPRED_IC_L2 / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "DISPATCHED_BR_MPRED_IC_L2_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when dispatch was stalled while instruction was fetched from the local L3 after suffering a branch mispredict", > + "MetricExpr": "PM_DISP_STALL_BR_MPRED_IC_L3 / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "DISPATCHED_BR_MPRED_IC_L3_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when dispatch was stalled while instruction was fetched from any source beyond the local L3 after suffering a branch mispredict", extra space after "beyond" > + "MetricExpr": "PM_DISP_STALL_BR_MPRED_IC_L3MISS / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "DISPATCHED_BR_MPRED_IC_L3MISS_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when dispatch was stalled due to a branch mispredict", > + "MetricExpr": "PM_DISP_STALL_BR_MPRED / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "DISPATCHED_BR_MPRED_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction was held at dispatch for any reason", s/ntc/NTC/ or "next-to-complete" I do see uses of "NTC" below. Same comment for other instances of "ntc", below... > + "MetricExpr": "PM_DISP_STALL_HELD_CYC / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "DISPATCHED_HELD_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction was held at dispatch because of a synchronizing instruction that requires the ICT to be empty before dispatch", > + "MetricExpr": "PM_DISP_STALL_HELD_SYNC_CYC / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "DISP_HELD_STALL_SYNC_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction was held at dispatch while waiting on the scoreboard", > + "MetricExpr": "PM_DISP_STALL_HELD_SCOREBOARD_CYC / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "DISP_HELD_STALL_SCOREBOARD_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction was held at dispatch due to issue q full", s/q/queue/ > + "MetricExpr": "PM_DISP_STALL_HELD_ISSQ_FULL_CYC / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "DISP_HELD_STALL_ISSQ_FULL_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction was held at dispatch because the mapper/SRB was full", > + "MetricExpr": "PM_DISP_STALL_HELD_RENAME_CYC / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "DISPATCHED_HELD_RENAME_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction was held at dispatch because the STF mapper/SRB was full", > + "MetricExpr": "PM_DISP_STALL_HELD_STF_MAPPER_CYC / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "DISPATCHED_HELD_STF_MAPPER_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction was held at dispatch because the XVFC mapper/SRB was full", > + "MetricExpr": "PM_DISP_STALL_HELD_XVFC_MAPPER_CYC / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "DISPATCHED_HELD_XVFC_MAPPER_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction was held at dispatch for any other reason", > + "MetricExpr": "PM_DISP_STALL_HELD_OTHER_CYC / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "DISPATCHED_HELD_OTHER_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction has been dispatched but not issued for any reason", > + "MetricExpr": "PM_ISSUE_STALL / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "ISSUE_STALL_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction is waiting to be finished in one of the execution units", > + "MetricExpr": "PM_EXEC_STALL / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "EXECUTION_STALL_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction spent executing an NTC instruction that gets flushed some time after dispatch", > + "MetricExpr": "PM_EXEC_STALL_NTC_FLUSH / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "NTC_FLUSH_STALL_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the instruction finishes at dispatch", I'm not sure what that means. > + "MetricExpr": "PM_EXEC_STALL_FIN_AT_DISP / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "FIN_AT_DISP_STALL_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction is executing in the branch unit", > + "MetricExpr": "PM_EXEC_STALL_BRU / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "BRU_STALL_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction is a simple fixed point instr that is executing in the lsu unit", s/instr/instruction/ s/lsu unit/LSU/ > + "MetricExpr": "PM_EXEC_STALL_SIMPLE_FX / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "SIMPLE_FX_STALL_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction is executing in the vsu unit", s/vsu unit/VSU/ > + "MetricExpr": "PM_EXEC_STALL_VSU / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "VSU_STALL_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction is waiting to be finished in one of the execution units", > + "MetricExpr": "PM_EXEC_STALL_TRANSLATION / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "TRANSLATION_STALL_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction is a load or store that suffered a translation miss", > + "MetricExpr": "PM_EXEC_STALL_DERAT_ONLY_MISS / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "DERAT_ONLY_MISS_STALL_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction is recovering from a TLB miss", > + "MetricExpr": "PM_EXEC_STALL_DERAT_DTLB_MISS / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "DERAT_DTLB_MISS_STALL_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction is executing in the lsu unit", s/lsu unit/LSU/ > + "MetricExpr": "PM_EXEC_STALL_LSU / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "LSU_STALL_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction is a load that is executing in the lsu unit", s/lsu unit/LSU/ > + "MetricExpr": "PM_EXEC_STALL_LOAD / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "LOAD_STALL_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction is waiting for a load miss to resolve from either the local L2 or local L3", > + "MetricExpr": "PM_EXEC_STALL_DMISS_L2L3 / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "DMISS_L2L3_STALL_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction is waiting for a load miss to resolve from either the local L2 or local L3, with an RC dispatch conflict", > + "MetricExpr": "PM_EXEC_STALL_DMISS_L2L3_CONFLICT / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "DMISS_L2L3_CONFLICT_STALL_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction is waiting for a load miss to resolve from either the local L2 or local L3, without an RC dispatch conflict", > + "MetricExpr": "PM_EXEC_STALL_DMISS_L2L3_NOCONFLICT / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "DMISS_L2L3_NOCONFLICT_STALL_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction is waiting for a load miss to resolve from a source beyond the local L2 and local L3", > + "MetricExpr": "PM_EXEC_STALL_DMISS_L3MISS / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "DMISS_L3MISS_STALL_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction is waiting for a load miss to resolve from a neighbor chiplet's L2 or L3 in the same chip", > + "MetricExpr": "PM_EXEC_STALL_DMISS_L21_L31 / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "DMISS_L21_L31_STALL_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction is waiting for a load miss to resolve from local memory, L4 or OpenCapp chip", Most descriptions put L4 before memory. (My preference is to use an "Oxford comma", as in "memory, L4, or ..." (comma after "L4"), but acknowledge there are those who prefer otherwise.) > + "MetricExpr": "PM_EXEC_STALL_DMISS_LMEM / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "DMISS_LMEM_STALL_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction is waiting for a load miss to resolve from a remote chip (cache, L4, memory or CAPP) in the same group", Is there a distinction between "OpenCapp" and "CAPP"? If not, pick one throughout. Is this supposed to be "OpenCAPI"? > + "MetricExpr": "PM_EXEC_STALL_DMISS_OFF_CHIP / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "DMISS_OFF_CHIP_STALL_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction is waiting for a load miss to resolve from a distant chip (cache, L4, memory or CAPP chip)", > + "MetricExpr": "PM_EXEC_STALL_DMISS_OFF_NODE / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "DMISS_OFF_NODE_STALL_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction is executing a TLBIEL instruction", > + "MetricExpr": "PM_EXEC_STALL_TLBIEL / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "TLBIEL_STALL_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction is finishing a load after its data has been reloaded from a data source beyond the local L1, OR when the LSU is processing an L1-hit, OR when the NTF instruction merged with another load in the LMQ", > + "MetricExpr": "PM_EXEC_STALL_LOAD_FINISH / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "LOAD_FINISH_STALL_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction is a store that is executing in the lsu unit", s/lsu unit/LSU/ > + "MetricExpr": "PM_EXEC_STALL_STORE / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "STORE_STALL_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction is in the store unit outside of handling store misses or other special store operations", s/store unit/LSU/ ? > + "MetricExpr": "PM_EXEC_STALL_STORE_PIPE / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "STORE_PIPE_STALL_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction is a store whose cache line was not resident in the L1 and had to wait for allocation of the missing line into the L1", > + "MetricExpr": "PM_EXEC_STALL_STORE_MISS / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "STORE_MISS_STALL_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction is a TLBIE instruction waiting for a response from the L2", > + "MetricExpr": "PM_EXEC_STALL_TLBIE / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "TLBIE_STALL_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction is executing a PTESYNC instruction", > + "MetricExpr": "PM_EXEC_STALL_PTESYNC / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "PTESYNC_STALL_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction cannot complete because the thread was blocked", > + "MetricExpr": "PM_CMPL_STALL / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "COMPLETION_STALL_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction cannot complete because it was interrupted by ANY exception", > + "MetricExpr": "PM_CMPL_STALL_EXCEPTION / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "EXCEPTION_COMPLETION_STALL_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction is stuck at finish waiting for the non-speculative finish of either a stcx waiting for its result or a load waiting for non-critical sectors of data and ECC", > + "MetricExpr": "PM_CMPL_STALL_MEM_ECC / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "MEM_ECC_COMPLETION_STALL_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction cannot complete the instruction is a stcx waiting for resolution from the nest", > + "MetricExpr": "PM_CMPL_STALL_STCX / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "STCX_COMPLETION_STALL_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction is a LWSYNC instruction waiting to complete", Sometimes instruction mnemonics are ALL CAPS, like here, and sometimes not, like "stcx", above. Pick one style. Also pick whether the mnemonic is followed by "instruction" or not. I prefer including "instruction" for clarity. > + "MetricExpr": "PM_CMPL_STALL_LWSYNC / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "LWSYNC_COMPLETION_STALL_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction is a HWSYNC instruction stuck at finish waiting for a response from the L2", > + "MetricExpr": "PM_CMPL_STALL_HWSYNC / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "HWSYNC_COMPLETION_STALL_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction required special handling before completion", > + "MetricExpr": "PM_CMPL_STALL_SPECIAL / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "SPECIAL_COMPLETION_STALL_CPI" > + }, > + { > + "BriefDescription": "Should equal 0. If not, disp_stall_translation or children are miscounting", Are these "Should equal 0" metrics generally useful? > + "MetricExpr": "DISPATCHED_TRANSLATION_CPI - (DISPATCHED_IERAT_ONLY_MISS_CPI + DISPATCHED_ITLB_MISS_CPI)", > + "MetricGroup": "CPI", > + "MetricName": "OTHER_DISPATCHED_TRANSLATION_CPI" > + }, > + { > + "BriefDescription": "Should equal 0. If not, disp_stall_ic_miss or children are miscounting", > + "MetricExpr": "DISPATCHED_IC_MISS_CPI - (DISPATCHED_IC_L2_CPI + DISPATCHED_IC_L3_CPI + DISPATCHED_IC_L3MISS_CPI)", > + "MetricGroup": "CPI", > + "MetricName": "OTHER_DISPATCHED_IC_MISS_CPI" > + }, > + { > + "BriefDescription": "Should equal 0. If not, disp_stall_br_mpred_icmiss or children are miscounting", > + "MetricExpr": "DISPATCHED_BR_MPRED_ICMISS_CPI - (DISPATCHED_BR_MPRED_IC_L2_CPI + DISPATCHED_BR_MPRED_IC_L3_CPI + DISPATCHED_BR_MPRED_IC_L3MISS_CPI)", > + "MetricGroup": "CPI", > + "MetricName": "OTHER_DISPATCHED_BR_MPRED_ICMISS_CPI" > + }, > + { > + "BriefDescription": "Should equal 0. If not, disp_stall_held_rename or children are miscounting", > + "MetricExpr": "DISPATCHED_HELD_RENAME_CPI - (DISPATCHED_HELD_STF_MAPPER_CPI + DISPATCHED_HELD_XVFC_MAPPER_CPI)", > + "MetricGroup": "CPI", > + "MetricName": "OTHER_DISPATCHED_HELD_RENAME_CPI" > + }, > + { > + "BriefDescription": "Should equal 0. If not, disp_stall_held or children are miscounting", > + "MetricExpr": "DISPATCHED_HELD_CPI - (DISP_HELD_STALL_SYNC_CPI + DISP_HELD_STALL_SCOREBOARD_CPI + DISP_HELD_STALL_ISSQ_FULL_CPI + DISPATCHED_HELD_RENAME_CPI + DISPATCHED_HELD_OTHER_CPI + DISPATCHED_HELD_HALT_CPI)", > + "MetricGroup": "CPI", > + "MetricName": "OTHER_DISPATCHED_HELD_CPI" > + }, > + { > + "BriefDescription": "Should equal 0. If not, disp_stall or children are miscounting", > + "MetricExpr": "DISPATCHED_CPI - (DISPATCHED_FLUSH_CPI + DISPATCHED_TRANSLATION_CPI + DISPATCHED_IC_MISS_CPI + DISPATCHED_BR_MPRED_ICMISS_CPI + DISPATCHED_BR_MPRED_CPI + DISPATCHED_HELD_CPI)", > + "MetricGroup": "CPI", > + "MetricName": "OTHER_DISPATCHED_CPI" > + }, > + { > + "BriefDescription": "Should equal 0. If not, exec_stall_translation or children are miscounting", > + "MetricExpr": "TRANSLATION_STALL_CPI - (DERAT_ONLY_MISS_STALL_CPI + DERAT_DTLB_MISS_STALL_CPI)", > + "MetricGroup": "CPI", > + "MetricName": "OTHER_TRANSLATION_STALL_CPI" > + }, > + { > + "BriefDescription": "Should equal 0. If not, exec_stall_dmiss_l2l3 or children are miscounting", > + "MetricExpr": "DMISS_L2L3_STALL_CPI - (DMISS_L2L3_CONFLICT_STALL_CPI + DMISS_L2L3_NOCONFLICT_STALL_CPI)", > + "MetricGroup": "CPI", > + "MetricName": "OTHER_DMISS_L2L3_STALL_CPI" > + }, > + { > + "BriefDescription": "Should equal 0. If not, exec_stall_dmiss_l3miss or children are miscounting", > + "MetricExpr": "DMISS_L3MISS_STALL_CPI - (DMISS_L21_L31_STALL_CPI + DMISS_LMEM_STALL_CPI + DMISS_OFF_CHIP_STALL_CPI + DMISS_OFF_NODE_STALL_CPI)", > + "MetricGroup": "CPI", > + "MetricName": "OTHER_DMISS_L3MISS_STALL_CPI" > + }, > + { > + "BriefDescription": "Should equal 0. If not, exec_stall_load or children are miscounting", > + "MetricExpr": "LOAD_STALL_CPI - (DMISS_L2L3_STALL_CPI + DMISS_L3MISS_STALL_CPI + TLBIEL_STALL_CPI + LOAD_FINISH_STALL_CPI)", > + "MetricGroup": "CPI", > + "MetricName": "OTHER_LOAD_STALL_CPI" > + }, > + { > + "BriefDescription": "Should equal 0. If not, exec_stall_store or children are miscounting", > + "MetricExpr": "STORE_STALL_CPI - (STORE_PIPE_STALL_CPI + STORE_MISS_STALL_CPI + TLBIE_STALL_CPI + PTESYNC_STALL_CPI)", > + "MetricGroup": "CPI", > + "MetricName": "OTHER_STORE_STALL_CPI" > + }, > + { > + "BriefDescription": "Should equal 0. If not, exec_stall_lsu or children are miscounting", > + "MetricExpr": "LSU_STALL_CPI - (LOAD_STALL_CPI + STORE_STALL_CPI)", > + "MetricGroup": "CPI", > + "MetricName": "OTHER_LSU_STALL_CPI" > + }, > + { > + "BriefDescription": "Should equal 0. If not, cmpl_stall or children are miscounting", > + "MetricExpr": "COMPLETION_STALL_CPI - (EXCEPTION_COMPLETION_STALL_CPI + MEM_ECC_COMPLETION_STALL_CPI + STCX_COMPLETION_STALL_CPI + LWSYNC_COMPLETION_STALL_CPI + HWSYNC_COMPLETION_STALL_CPI + SPECIAL_COMPLETION_STALL_CPI)", > + "MetricGroup": "CPI", > + "MetricName": "OTHER_COMPLETION_STALL_CPI" > + }, > + { > + "BriefDescription": "Should equal 0. If not, exec_stall or children are miscounting", > + "MetricExpr": "EXECUTION_STALL_CPI - (NTC_FLUSH_STALL_CPI + FIN_AT_DISP_STALL_CPI + BRU_STALL_CPI + SIMPLE_FX_STALL_CPI + VSU_STALL_CPI + TRANSLATION_STALL_CPI + LSU_STALL_CPI)", > + "MetricGroup": "CPI", > + "MetricName": "OTHER_STALL_CPI" > + }, > + { > + "BriefDescription": "Should equal 0. If not, pm_cyc or children are miscounting", > + "MetricExpr": "CYCLES_PER_INSTRUCTION - (DISPATCHED_CPI + ISSUE_STALL_CPI + EXECUTION_STALL_CPI + COMPLETION_STALL_CPI)", > + "MetricGroup": "CPI", > + "MetricName": "OTHER_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when dispatch was stalled because Fetch was being held, so there was nothing in the pipeline for this thread", s/Fetch/fetch/ extra space after "held," > + "MetricExpr": "PM_DISP_STALL_FETCH / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "DISPATCHED_FETCH_CPI" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntc instruction was held at dispatch because of power management", > + "MetricExpr": "PM_DISP_STALL_HELD_HALT_CYC / PM_RUN_INST_CMPL", > + "MetricGroup": "CPI", > + "MetricName": "DISPATCHED_HELD_HALT_CPI" > + }, > + { > + "BriefDescription": "Percentage of flushes per completed instruction", > + "MetricExpr": "PM_FLUSH / PM_RUN_INST_CMPL * 100", > + "MetricGroup": "Others", > + "MetricName": "FLUSH_RATE", > + "ScaleUnit": "1%" > + }, > + { > + "BriefDescription": "Percentage of flushes due to a branch mispredict per instruction", > + "MetricExpr": "PM_FLUSH_MPRED / PM_RUN_INST_CMPL * 100", > + "MetricGroup": "Others", > + "MetricName": "BR_MPRED_FLUSH_RATE", > + "ScaleUnit": "1%" > + }, > + { > + "BriefDescription": "Percentage of branch mispredictions per completed instruction", > + "MetricExpr": "PM_BR_MPRED_CMPL / PM_RUN_INST_CMPL", > + "MetricGroup": "Others", > + "MetricName": "BRANCH_MISPREDICTION_RATE" > + }, > + { > + "BriefDescription": "Percentage of finished loads that missed in the L1", > + "MetricExpr": "PM_LD_MISS_L1 / PM_LD_REF_L1 * 100", > + "MetricGroup": "Others", > + "MetricName": "L1_LD_MISS_RATIO", > + "ScaleUnit": "1%" > + }, > + { > + "BriefDescription": "Percentage of completed instructions that were loads that missed the L1", > + "MetricExpr": "PM_LD_MISS_L1 / PM_RUN_INST_CMPL * 100", > + "MetricGroup": "Others", > + "MetricName": "L1_LD_MISS_RATE", > + "ScaleUnit": "1%" > + }, > + { > + "BriefDescription": "Percentage of instructions when the DPTEG required for the load/store instruction in execution was missing from the TLB", > + "MetricExpr": "PM_DTLB_MISS / PM_RUN_INST_CMPL * 100", > + "MetricGroup": "Others", > + "MetricName": "DTLB_MISS_RATE", > + "ScaleUnit": "1%" > + }, > + { > + "BriefDescription": "Average number of instruction dispatched per instruction completed", s/instruction/instrucions/ > + "MetricExpr": "PM_INST_DISP / PM_RUN_INST_CMPL", > + "MetricGroup": "General", > + "MetricName": "DISPATCH_PER_INST_CMPL" > + }, > + { > + "BriefDescription": "Percentage of completed instructions that were a demand load that did not hit in the L1 or L2", > + "MetricExpr": "PM_DATA_FROM_L2MISS / PM_RUN_INST_CMPL * 100", > + "MetricGroup": "General", > + "MetricName": "L2_LD_MISS_RATE", > + "ScaleUnit": "1%" > + }, > + { > + "BriefDescription": "Percentage of completed instructions that were demand fetches that missed the L1 instruction cache", > + "MetricExpr": "PM_L1_ICACHE_MISS / PM_RUN_INST_CMPL * 100", > + "MetricGroup": "Instruction_Misses", > + "MetricName": "L1_INST_MISS_RATE", > + "ScaleUnit": "1%" > + }, > + { > + "BriefDescription": "Percentage of completed instructions that were demand fetches that reloaded from beyond the L3 instruction cache", > + "MetricExpr": "PM_INST_FROM_L3MISS / PM_RUN_INST_CMPL * 100", > + "MetricGroup": "General", > + "MetricName": "L3_INST_MISS_RATE", > + "ScaleUnit": "1%" > + }, > + { > + "BriefDescription": "Average number of completed instructions per cycle", > + "MetricExpr": "PM_INST_CMPL / PM_CYC", > + "MetricGroup": "General", > + "MetricName": "IPC" > + }, > + { > + "BriefDescription": "Average number of cycles per completed instruction group", > + "MetricExpr": "PM_CYC / PM_1PLUS_PPC_CMPL", > + "MetricGroup": "General", > + "MetricName": "CYCLES_PER_COMPLETED_INSTRUCTIONS_SET" > + }, > + { > + "BriefDescription": "Percentage of cycles when at least 1 instruction dispatched", > + "MetricExpr": "PM_1PLUS_PPC_DISP / PM_RUN_CYC * 100", > + "MetricGroup": "General", > + "MetricName": "CYCLES_ATLEAST_ONE_INST_DISPATCHED", > + "ScaleUnit": "1%" > + }, > + { > + "BriefDescription": "Rate of finished loads per completed instruction", Most similar "rate" metrics are using the phrase "average number of". Do we want to use that here as well? (Applies to all "rate" metrics.) > + "MetricExpr": "PM_LD_REF_L1 / PM_RUN_INST_CMPL", > + "MetricGroup": "General", > + "MetricName": "LOADS_PER_INST" > + }, > + { > + "BriefDescription": "Rate of finished stores per completed instruction", > + "MetricExpr": "PM_ST_FIN / PM_RUN_INST_CMPL", > + "MetricGroup": "General", > + "MetricName": "STORES_PER_INST" > + }, > + { > + "BriefDescription": "Percentage of demand loads that reloaded from beyond the L2 per completed instruction", > + "MetricExpr": "PM_DATA_FROM_L2MISS / PM_RUN_INST_CMPL * 100", > + "MetricGroup": "dL1_Reloads", > + "MetricName": "DL1_RELOAD_FROM_L2_MISS_RATE", > + "ScaleUnit": "1%" > + }, > + { > + "BriefDescription": "Percentage of demand loads that reloaded from beyond the L3 per completed instruction", > + "MetricExpr": "PM_DATA_FROM_L3MISS / PM_RUN_INST_CMPL * 100", > + "MetricGroup": "dL1_Reloads", > + "MetricName": "DL1_RELOAD_FROM_L3_MISS_RATE", > + "ScaleUnit": "1%" > + }, > + { > + "BriefDescription": "Percentage of DERAT misses with 4k page size per completed run instruction", When PM_RUN_INST_CMPL is used, sometimes we say "run instruction", and sometimes we say "completed instruction". Let's pick one. > + "MetricExpr": "PM_DERAT_MISS_4K / PM_RUN_INST_CMPL * 100", > + "MetricGroup": "Translation", > + "MetricName": "DERAT_4K_MISS_RATE", > + "ScaleUnit": "1%" > + }, > + { > + "BriefDescription": "Percentage of DERAT misses with 64k page size per completed run instruction", > + "MetricExpr": "PM_DERAT_MISS_64K / PM_RUN_INST_CMPL * 100", > + "MetricGroup": "Translation", > + "MetricName": "DERAT_64K_MISS_RATE", > + "ScaleUnit": "1%" > + }, > + { > + "BriefDescription": "Average number of run cycles per completed run instruction", Here we cover our bases and say "completed run instruction". ;-) Let's convert this one to whichever phrase is chosen for PM_RUN_INST_CMPL. Seen below, too. > + "MetricExpr": "PM_RUN_CYC / PM_RUN_INST_CMPL", > + "MetricGroup": "General", > + "MetricName": "RUN_CPI" > + }, > + { > + "BriefDescription": "Total number of run cycles", > + "MetricExpr": "PM_RUN_CYC", Isn't this more an event than a metric? Does it need to be included here? > + "MetricGroup": "General", > + "MetricName": "TOTAL_RUN_CYCLES" > + }, > + { > + "BriefDescription": "Percentage of DERAT misses per completed run instruction", > + "MetricExpr": "PM_DERAT_MISS / PM_RUN_INST_CMPL * 100", > + "MetricGroup": "Translation", > + "MetricName": "DERAT_MISS_RATE", > + "ScaleUnit": "1%" > + }, > + { > + "BriefDescription": "Average number of completed run instructions per run cycle", > + "MetricExpr": "PM_RUN_INST_CMPL / PM_RUN_CYC", > + "MetricGroup": "General", > + "MetricName": "RUN_IPC" > + }, > + { > + "BriefDescription": "Average number of instruction completed per instruction group", s/instruction/instructions/ > + "MetricExpr": "PM_RUN_INST_CMPL / PM_1PLUS_PPC_CMPL", > + "MetricGroup": "General", > + "MetricName": "AVERAGE_COMPLETED_INSTRUCTION_SET_SIZE" > + }, > + { > + "BriefDescription": "Rate of finished instructions per completed instructions", > + "MetricExpr": "PM_INST_FIN / PM_RUN_INST_CMPL", > + "MetricGroup": "General", > + "MetricName": "INST_FIN_PER_CMPL" > + }, > + { > + "BriefDescription": "Average cycles per instruction when the ntf instruction is completing and the finish was overlooked", s/ntf/NTF/ "overlooked" seems like an odd term. > + "MetricExpr": "PM_EXEC_STALL_UNKNOWN / PM_RUN_INST_CMPL", > + "MetricGroup": "General", > + "MetricName": "EXEC_STALL_UNKOWN_CPI" > + }, > + { > + "BriefDescription": "Percentage of finished branches that were taken", > + "MetricExpr": "PM_BR_TAKEN_CMPL / PM_BR_FIN * 100", > + "MetricGroup": "General", > + "MetricName": "TAKEN_BRANCHES", > + "ScaleUnit": "1%" > + }, > + { > + "BriefDescription": "Percentage of completed instructions that were a demand load that did not hit in the L1, L2, or the L3", > + "MetricExpr": "PM_DATA_FROM_L3MISS / PM_RUN_INST_CMPL * 100", > + "MetricGroup": "General", > + "MetricName": "L3_LD_MISS_RATE", > + "ScaleUnit": "1%" > + }, > + { > + "BriefDescription": "Rate of finished branches per completed instruction", > + "MetricExpr": "PM_BR_FIN / PM_RUN_INST_CMPL", > + "MetricGroup": "General", > + "MetricName": "BRANCHES_PER_INST" > + }, > + { > + "BriefDescription": "Rate of instructions finished in the LSU per completed instruction", > + "MetricExpr": "PM_LSU_FIN / PM_RUN_INST_CMPL", > + "MetricGroup": "General", > + "MetricName": "LSU_PER_INST" > + }, > + { > + "BriefDescription": "Rate of instructions finished in the VSU per completed instruction", > + "MetricExpr": "PM_VSU_FIN / PM_RUN_INST_CMPL", > + "MetricGroup": "General", > + "MetricName": "VSU_PER_INST" > + }, > + { > + "BriefDescription": "Rate of TLBIE instructions finished in the LSU per completed instruction", > + "MetricExpr": "PM_TLBIE_FIN / PM_RUN_INST_CMPL", > + "MetricGroup": "General", > + "MetricName": "TLBIE_PER_INST" > + }, > + { > + "BriefDescription": "Rate of STCX instructions finshed per completed instruction", > + "MetricExpr": "PM_STCX_FIN / PM_RUN_INST_CMPL", > + "MetricGroup": "General", > + "MetricName": "STXC_PER_INST" > + }, > + { > + "BriefDescription": "Rate of LARX instructions finshed per completed instruction", > + "MetricExpr": "PM_LARX_FIN / PM_RUN_INST_CMPL", > + "MetricGroup": "General", > + "MetricName": "LARX_PER_INST" > + }, > + { > + "BriefDescription": "Rate of ptesync instructions finshed per completed instruction", > + "MetricExpr": "PM_PTESYNC_FIN / PM_RUN_INST_CMPL", > + "MetricGroup": "General", > + "MetricName": "PTESYNC_PER_INST" > + }, > + { > + "BriefDescription": "Rate of simple fixed-point instructions finshed in the store unit per completed instruction", s/store unit/LSU/ ? > + "MetricExpr": "PM_FX_LSU_FIN / PM_RUN_INST_CMPL", > + "MetricGroup": "General", > + "MetricName": "FX_PER_INST" > + }, > + { > + "BriefDescription": "Percentage of demand load misses that reloaded the L1 cache", > + "MetricExpr": "PM_LD_DEMAND_MISS_L1 / PM_LD_MISS_L1 * 100", > + "MetricGroup": "General", > + "MetricName": "DL1_MISS_RELOADS", > + "ScaleUnit": "1%" > + }, > + { > + "BriefDescription": "Percentage of demand load misses that reloaded from beyond the local L2", > + "MetricExpr": "PM_DATA_FROM_L2MISS / PM_LD_DEMAND_MISS_L1 * 100", > + "MetricGroup": "dL1_Reloads", > + "MetricName": "DL1_RELOAD_FROM_L2_MISS", > + "ScaleUnit": "1%" > + }, > + { > + "BriefDescription": "Percentage of demand load misses that reloaded from beyond the local L3", > + "MetricExpr": "PM_DATA_FROM_L3MISS / PM_LD_DEMAND_MISS_L1 * 100", > + "MetricGroup": "dL1_Reloads", > + "MetricName": "DL1_RELOAD_FROM_L3_MISS", > + "ScaleUnit": "1%" > + }, > + { > + "BriefDescription": "Percentage of cycles stalled due to the ntc instruction waiting for a load miss to resolve from a source beyond the local L2 and local L3", > + "MetricExpr": "DMISS_L3MISS_STALL_CPI / RUN_CPI * 100", > + "MetricGroup": "General", > + "MetricName": "DCACHE_MISS_CPI", > + "ScaleUnit": "1%" > + }, > + { > + "BriefDescription": "Percentage of DERAT misses with 2M page size per completed run instruction", > + "MetricExpr": "PM_DERAT_MISS_2M / PM_RUN_INST_CMPL * 100", > + "MetricGroup": "Translation", > + "MetricName": "DERAT_2M_MISS_RATE", > + "ScaleUnit": "1%" > + }, > + { > + "BriefDescription": "Percentage of DERAT misses with 16M page size per completed run instruction", > + "MetricExpr": "PM_DERAT_MISS_16M / PM_RUN_INST_CMPL * 100", > + "MetricGroup": "Translation", > + "MetricName": "DERAT_16M_MISS_RATE", > + "ScaleUnit": "1%" > + }, > + { > + "BriefDescription": "DERAT miss ratio for 4K page size", > + "MetricExpr": "PM_DERAT_MISS_4K / PM_DERAT_MISS", > + "MetricGroup": "Translation", > + "MetricName": "DERAT_4K_MISS_RATIO" > + }, > + { > + "BriefDescription": "DERAT miss ratio for 2M page size", > + "MetricExpr": "PM_DERAT_MISS_2M / PM_DERAT_MISS", > + "MetricGroup": "Translation", > + "MetricName": "DERAT_2M_MISS_RATIO" > + }, > + { > + "BriefDescription": "DERAT miss ratio for 16M page size", > + "MetricExpr": "PM_DERAT_MISS_16M / PM_DERAT_MISS", > + "MetricGroup": "Translation", > + "MetricName": "DERAT_16M_MISS_RATIO" > + }, > + { > + "BriefDescription": "DERAT miss ratio for 64K page size", > + "MetricExpr": "PM_DERAT_MISS_64K / PM_DERAT_MISS", > + "MetricGroup": "Translation", > + "MetricName": "DERAT_64K_MISS_RATIO" > + }, > + { > + "BriefDescription": "Percentage of DERAT misses that resulted in TLB reloads", > + "MetricExpr": "PM_DTLB_MISS / PM_DERAT_MISS * 100", > + "MetricGroup": "Translation", > + "MetricName": "DERAT_MISS_RELOAD", > + "ScaleUnit": "1%" > + }, > + { > + "BriefDescription": "Percentage of ICache misses that were reloaded from beyond the local L3", Sometimes we use "ICache" and sometimes "icache". Pick one. > + "MetricExpr": "PM_INST_FROM_L3MISS / PM_L1_ICACHE_MISS * 100", > + "MetricGroup": "Instruction_Misses", > + "MetricName": "INST_FROM_L3_MISS", > + "ScaleUnit": "1%" > + }, > + { > + "BriefDescription": "Percentage of ICache reloads from the beyond the L3 per completed run instruction", > + "MetricExpr": "PM_INST_FROM_L3MISS / PM_RUN_INST_CMPL * 100", > + "MetricGroup": "Instruction_Misses", > + "MetricName": "INST_FROM_L3_MISS_RATE", > + "ScaleUnit": "1%" > + } > +] PC