TPEBS counting mode support
v2 cover TPEBS counting mode support
From: Weilin Wang <[email protected]>
Changes in v2:
- Add MTL metric file
- Add more descriptions and example to the patch [Arnaldo]
Here is an example of running perf stat to collect a metric that uses retire_latency value of event MEM_INST_RETIRED.STLB_HIT_STORES on a MTL system.
In this simple example, there is no MEM_INST_RETIRED.STLB_HIT_STORES sample. Therefore, the MEM_INST_RETIRED.STLB_HIT_STORES:p count and retire_latency value are all 0.
./perf stat -M tma_dtlb_store -a -- sleep 1
[ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 0.000 MB - ]
Performance counter stats for 'system wide':
181,047,168 cpu_core/TOPDOWN.SLOTS/ # 0.6 % tma_dtlb_store
3,195,608 cpu_core/topdown-retiring/
40,156,649 cpu_core/topdown-mem-bound/
3,550,925 cpu_core/topdown-bad-spec/
117,571,818 cpu_core/topdown-fe-bound/
57,118,087 cpu_core/topdown-be-bound/
69,179 cpu_core/EXE_ACTIVITY.BOUND_ON_STORES/
4,582 cpu_core/MEM_INST_RETIRED.STLB_HIT_STORES/
30,183,104 cpu_core/CPU_CLK_UNHALTED.DISTRIBUTED/
30,556,790 cpu_core/CPU_CLK_UNHALTED.THREAD/
168,486 cpu_core/DTLB_STORE_MISSES.WALK_ACTIVE/0.00 MEM_INST_RETIRED.STLB_HIT_STORES:p 0 0
1.003105924 seconds time elapsed
v1: https://lore.kernel.org/all/[email protected]/
Weilin Wang (6):
perf stat: Parse and find tpebs events when parsing metrics to prepare
for perf record sampling
perf stat: Fork and launch perf record when perf stat needs to get
retire latency value for a metric.
perf stat: Add retire latency values into the expr_parse_ctx to
prepare for final metric calculation
perf stat: Create another thread for sample data processing perf stat: Add retire latency print functions to print out at the very
end of print out
perf vendor events intel: Add MTL metric json files
tools/perf/builtin-stat.c | 222 +- .../arch/x86/meteorlake/metricgroups.json | 127 + .../arch/x86/meteorlake/mtl-metrics.json | 2531 +++++++++++++++++ tools/perf/util/data.c | 4 + tools/perf/util/data.h | 1 + tools/perf/util/metricgroup.c | 73 +- tools/perf/util/metricgroup.h | 18 +- tools/perf/util/stat-display.c | 65 + tools/perf/util/stat-shadow.c | 18 + tools/perf/util/stat.h | 5 + 10 files changed, 3046 insertions(+), 18 deletions(-) create mode 100644 tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json create mode 100644 tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
--
2.43.0
RFC PATCH v2 1/6 perf stat: Parse and find tpebs events when parsing metrics to prepare for perf record sampling
From: Weilin Wang <[email protected]>
Metrics that use tpebs values would use the :retire_latency keyword in formulas. We put all these events into a list and pass the list to perf record to collect their retire latency value.
--- tools/perf/builtin-stat.c | 38 +++++++++++++++--- tools/perf/util/metricgroup.c | 73 +++++++++++++++++++++++++++++------ tools/perf/util/metricgroup.h | 10 ++++- tools/perf/util/stat.h | 2 + 4 files changed, 105 insertions(+), 18 deletions(-)
tools/perf/builtin-stat.c +33 -5
@@ -162,6 +162,7 @@ static struct perf_stat_config stat_config = { .ctl_fd = -1, .ctl_fd_ack = -1, .iostat_run = false, + .tpebs_event_size = 0, };static bool cpus_map_matched (struct evsel *a,struct evsel *b)
@@ -686,6 +687,12 @@ static enum counter_recovery stat_handle_error(struct evsel *counter)return COUNTER_FATAL ; } +static int __run_perf_record (void ) +{ +pr_debug ("Prepare perf record for retire_latency\n" ); +return 0 ; +} +static int __run_perf_stat (int argc,const char **argv,int run_idx) {int interval = stat_config.interval;
@@ -703,6 +710,15 @@ static int __run_perf_stat(int argc, const char **argv, int run_idx)int err;bool second_pass = false; +//Prepare perf record for sampling event retire_latency before fork and prepare workload +if (stat_config.tpebs_event_size >0 ) { +int ret; + + ret =__run_perf_record (); +if (ret) +return ret; + } +if (forks) {if (evlist__prepare_workload (evsel_list, &target, argv, is_pipe, workload_exec_failed_signal) <0 ) {perror ("failed to prepare workload" );
@@ -2106,7 +2122,9 @@ static int add_default_attributes(void) stat_config.metric_no_threshold, stat_config.user_requested_cpu_list, stat_config.system_wide, - &stat_config.metric_events); + &stat_config.metric_events, + &stat_config.tpebs_events, + &stat_config.tpebs_event_size); }if (smi_cost) {
@@ -2139,7 +2157,9 @@ static int add_default_attributes(void) stat_config.metric_no_threshold, stat_config.user_requested_cpu_list, stat_config.system_wide, - &stat_config.metric_events); + &stat_config.metric_events, + &stat_config.tpebs_events, + &stat_config.tpebs_event_size); }if (topdown_run) {
@@ -2173,7 +2193,9 @@ static int add_default_attributes(void)/*metric_no_threshold=*/ true, stat_config.user_requested_cpu_list, stat_config.system_wide, - &stat_config.metric_events) < 0) + &stat_config.metric_events, + &stat_config.tpebs_events, + &stat_config.tpebs_event_size) < 0) return -1; }
@@ -2214,7 +2236,9 @@ static int add_default_attributes(void)/*metric_no_threshold=*/ true, stat_config.user_requested_cpu_list, stat_config.system_wide, - &stat_config.metric_events) < 0) + &stat_config.metric_events, +/*&stat_config.tpebs_events=*/ NULL , + /*stat_config.tpebs_event_size=*/0) < 0) return -1;evlist__for_each_entry (metric_evlist, metric_evsel) {
@@ -2736,6 +2760,8 @@ int cmd_stat(int argc, const char **argv) } } +INIT_LIST_HEAD (&stat_config.tpebs_events); +/* * Metric parsing needs to be delayed as metrics may optimize events * knowing the target is system-wide.
@@ -2748,7 +2774,9 @@ int cmd_stat(int argc, const char **argv) stat_config.metric_no_threshold, stat_config.user_requested_cpu_list, stat_config.system_wide, - &stat_config.metric_events); + &stat_config.metric_events, + &stat_config.tpebs_events, + &stat_config.tpebs_event_size);zfree (&metrics);if (ret) {
tools/perf/util/metricgroup.c +61 -12
162 lines not on this page · raw message
tools/perf/util/metricgroup.h +9 -1
@@ -66,6 +66,12 @@ struct metric_expr {int runtime; }; +struct tpebs_event { +struct list_head nd; +const char *name; +const char *tpebs_name; +}; +struct metric_event *metricgroup__lookup (struct rblist *metric_events,struct evsel *evsel,bool create);
@@ -77,7 +83,9 @@ int metricgroup__parse_groups(struct evlist *perf_evlist,bool metric_no_threshold, const char *user_requested_cpu_list, bool system_wide, - struct rblist *metric_events); + struct rblist *metric_events, + struct list_head *tpebs_events, + size_t *tpebs_event_size); int metricgroup__parse_groups_test(struct evlist *evlist, const struct pmu_metrics_table *table, const char *str,
tools/perf/util/stat.h +2 -0
@@ -109,6 +109,8 @@ struct perf_stat_config {struct cpu_aggr_map *cpus_aggr_map;u64 *walltime_run;struct rblist metric_events; +struct list_head tpebs_events; +size_t tpebs_event_size;int ctl_fd;int ctl_fd_ack;bool ctl_fd_close;
Signature · 1 line
2.43.0
RFC PATCH v2 2/6 perf stat: Fork and launch perf record when perf stat needs to get retire latency value for a metric.
In reply to [email protected]From: Weilin Wang <[email protected]>
When retire_latency value is used in a metric formula, perf stat would fork a perf record process with "-e" and "-W" options. Perf record will collect required retire_latency values in parallel while perf stat is collecting counting values.
At the point of time that perf stat stops counting, it would send sigterm signal to perf record process and receiving sampling data back from perf record from a pipe. Perf stat will then process the received data to get retire latency data and calculate metric result.
--- tools/perf/builtin-stat.c | 179 +++++++++++++++++++++++++++++++++- tools/perf/util/data.c | 4 + tools/perf/util/data.h | 1 + tools/perf/util/metricgroup.h | 7 ++ tools/perf/util/stat.h | 3 + 5 files changed, 191 insertions(+), 3 deletions(-)
tools/perf/builtin-stat.c +176 -3
@@ -94,8 +94,13 @@#include <perf/evlist.h> #include <internal/threadmap.h> +#include "util/sample.h" +#include <sys/param.h> +#include <subcmd/run-command.h> +#define DEFAULT_SEPARATOR " "#define FREEZE_ON_SMI_PATH "devices/cpu/freeze_on_smi" +#define PERF_DATA "-"static void print_counters (struct timespec *ts,int argc,const char **argv);
@@ -162,7 +167,8 @@ static struct perf_stat_config stat_config = { .ctl_fd = -1, .ctl_fd_ack = -1, .iostat_run = false, - .tpebs_event_size = 0, + .tpebs_event_size = 0, + .tpebs_pid = -1, };static bool cpus_map_matched (struct evsel *a,struct evsel *b)
@@ -687,12 +693,163 @@ static enum counter_recovery stat_handle_error(struct evsel *counter)return COUNTER_FATAL ; } -static int __run_perf_record (void ) +static int __run_perf_record (const char **record_argv) { +int i =0 ; +struct tpebs_event *e;pr_debug ("Prepare perf record for retire_latency\n" ); + + + record_argv[i++] ="perf" ; + record_argv[i++] ="record" ; + record_argv[i++] ="-W" ; + +if (stat_config.user_requested_cpu_list) { + record_argv[i++] ="-C" ; + record_argv[i++] = stat_config.user_requested_cpu_list; + } + +if (stat_config.system_wide) + record_argv[i++] ="-a" ; + +list_for_each_entry (e, &stat_config.tpebs_events, nd) { + record_argv[i++] ="-e" ; + record_argv[i++] = e->name; + } + + record_argv[i++] ="-o" ; + record_argv[i++] =PERF_DATA ; +return 0 ; } +static void prepare_run_command (struct child_process *cmd, +const char **argv) +{ +memset (cmd,0 ,sizeof (*cmd)); + cmd->argv = argv; + cmd->out =-1 ; +} +static int prepare_perf_record (struct child_process *cmd) +{ +const char **record_argv; + + record_argv =calloc (10 +2 * stat_config.tpebs_event_size,sizeof (char *)); +if (!record_argv) +return -1 ; +__run_perf_record (record_argv); + +prepare_run_command (cmd, record_argv); +return start_command (cmd); +} + +struct perf_script { +struct perf_tool tool; +struct perf_session *session; +struct evswitch evswitch; +struct perf_cpu_map *cpus; +struct perf_thread_map *threads; +int name_width; +}; + +static void tpebs_data__delete (void ) +{ +struct tpebs_retire_lat *r, *rtmp; +struct tpebs_event *e, *etmp; +list_for_each_entry_safe (r, rtmp, &stat_config.tpebs_results, nd) { +list_del_init (&r->nd); +free (r); + } +list_for_each_entry_safe (e, etmp, &stat_config.tpebs_events, nd) { +list_del_init (&e->nd); +free (e); + } +} + +static int process_sample_event (struct perf_tool *tool, +union perf_event *event__maybe_unused , +struct perf_sample *sample, +struct evsel *evsel, +struct machine *machine__maybe_unused ) +{ + struct perf_script *script = container_of(tool, struct perf_script, tool); +int ret =0 ; +const char *evname; +struct tpebs_retire_lat *t; + +pr_debug ("entering function %s\n " , __func__); + evname =evsel__name (evsel); + +pr_debug ("[%03d] " , sample->cpu); +pr_debug ("%*s: " , script->name_width, evname ?:"[unknown]" ); +pr_debug ("%16" PRIu16, sample->retire_lat); +pr_debug ("\n" ); + +// Need to handle per core results? +// We are assuming average retire latency value will be used. Save the number of +// samples and the sum of retire latency value for each event. +list_for_each_entry (t, &stat_config.tpebs_results, nd) { +if (!strcmp (evname, t->name)) { + t->count +=1 ; + t->sum += sample->retire_lat; +break ; + } + } + +return ret; +} + +static int process_feature_event (struct perf_session *session, +union perf_event *event) +{ +if (event->feat.feat_id <HEADER_LAST_FEATURE ) +return perf_event__process_feature (session, event); +return 0 ; +} + +static int __cmd_script (struct child_process *cmd__maybe_unused ) +{ +int err =0 ; +struct perf_session *session; +struct perf_data data = { + .mode =PERF_DATA_MODE_READ , + .path =PERF_DATA , + .fd = cmd->out, + }; +struct perf_script script = { + .tool = { + .sample = process_sample_event, + .ordered_events = true, + .ordering_requires_timestamps = true, + .feature = process_feature_event, + .attr = perf_event__process_attr, + }, + }; +struct tpebs_event *e; + +list_for_each_entry (e, &stat_config.tpebs_events, nd) { +struct tpebs_retire_lat *new =malloc (sizeof (struct tpebs_retire_lat )); + +if (!new) +return -1 ; + new->name =strdup (e->name); + new->tpebs_name =strdup (e->tpebs_name); + new->count =0 ; + new->sum =0 ; +list_add_tail (&new->nd, &stat_config.tpebs_results); + } + +kill (cmd->pid,SIGTERM ); + session =perf_session__new (&data, &script.tool); +if (IS_ERR (session)) +return PTR_ERR (session); + script.session = session; + err =perf_session__process_events (session); +perf_session__delete (session); + +return err; +} +static int __run_perf_stat (int argc,const char **argv,int run_idx) {int interval = stat_config.interval;
@@ -709,12 +866,14 @@ static int __run_perf_stat(int argc, const char **argv, int run_idx)struct affinity saved_affinity, *affinity =NULL ;int err;bool second_pass = false; +struct child_process cmd;//Prepare perf record for sampling event retire_latency before fork and prepare workload if (stat_config.tpebs_event_size >0 ) {int ret; - ret =__run_perf_record (); +pr_debug ("perf stat pid = %d\n" ,getpid ()); + ret =prepare_perf_record (&cmd);if (ret)return ret; }
@@ -924,6 +1083,17 @@ static int __run_perf_stat(int argc, const char **argv, int run_idx) t1 =rdclock (); +if (stat_config.tpebs_event_size >0 ) { +int ret; + +pr_debug ("pid = %d\n" ,getpid ()); +pr_debug ("cmd.pid = %d\n" , cmd.pid); + + ret =__cmd_script (&cmd); +close (cmd.out); +pr_debug ("%d\n" , ret); + } +if (stat_config.walltime_run_table) stat_config.walltime_run[run_idx] = t1 - t0;
@@ -2761,6 +2931,7 @@ int cmd_stat(int argc, const char **argv) }INIT_LIST_HEAD (&stat_config.tpebs_events); +INIT_LIST_HEAD (&stat_config.tpebs_results);/* * Metric parsing needs to be delayed as metrics may optimize events
@@ -2972,5 +3143,7 @@ int cmd_stat(int argc, const char **argv)metricgroup__rblist_exit (&stat_config.metric_events);evlist__close_control (stat_config.ctl_fd, stat_config.ctl_fd_ack, &stat_config.ctl_fd_close); +tpebs_data__delete (); +return status; }
tools/perf/util/data.c +4 -0
@@ -185,6 +185,10 @@ static bool check_pipe(struct perf_data *data)int fd =perf_data__is_read (data) ?STDIN_FILENO :STDOUT_FILENO ; +if (data->fd >0 ) { + fd = data->fd; + } +if (!data->path) {if (!fstat (fd, &st) &&S_ISFIFO (st.st_mode)) is_pipe = true;
tools/perf/util/data.h +1 -0
@@ -28,6 +28,7 @@ struct perf_data_file {struct perf_data {const char *path; +int fd;struct perf_data_file file;bool is_pipe;bool is_dir;
tools/perf/util/metricgroup.h +7 -0
@@ -71,6 +71,13 @@ struct tpebs_event {const char *name;const char *tpebs_name; }; +struct tpebs_retire_lat { +struct list_head nd; +const char *name; +const char *tpebs_name; +size_t count; +int sum; +}; struct metric_event *metricgroup__lookup(struct rblist *metric_events, struct evsel *evsel,
tools/perf/util/stat.h +3 -0
@@ -111,6 +111,9 @@ struct perf_stat_config {struct rblist metric_events;struct list_head tpebs_events;size_t tpebs_event_size; +struct list_head tpebs_results; +pid_t tpebs_pid; +int tpebs_pipe;int ctl_fd;int ctl_fd_ack;bool ctl_fd_close;
Signature · 1 line
2.43.0
RFC PATCH v2 3/6 perf stat: Add retire latency values into the expr_parse_ctx to prepare for final metric calculation
In reply to [email protected]From: Weilin Wang <[email protected]>
Retire latency values of events are used in metric formulas. This update adds code to process data from perf record for required retire latency values.
--- tools/perf/builtin-stat.c | 1 + tools/perf/util/metricgroup.h | 1 + tools/perf/util/stat-shadow.c | 18 ++++++++++++++++++ 3 files changed, 20 insertions(+)
tools/perf/builtin-stat.c +1 -0
@@ -792,6 +792,7 @@ static int process_sample_event(struct perf_tool *tool,if (!strcmp (evname, t->name)) { t->count +=1 ; t->sum += sample->retire_lat; + t->val = t->count >0 ? t->sum/t->count :0 ;break ; } }
tools/perf/util/metricgroup.h +1 -0
@@ -77,6 +77,7 @@ struct tpebs_retire_lat {const char *tpebs_name;size_t count;int sum; +double val; }; struct metric_event *metricgroup__lookup(struct rblist *metric_events,
tools/perf/util/stat-shadow.c +18 -0
@@ -355,6 +355,19 @@ static void print_nsecs(struct perf_stat_config *config,print_metric (config, ctxp,NULL ,NULL ,"CPUs utilized" ,0 ); } +static int prepare_retire_lat (struct expr_parse_ctx *pctx, +struct list_head *retire_lats) +{ +int ret =0 ; +struct tpebs_retire_lat *t; +list_for_each_entry (t, retire_lats, nd) { + ret =expr__add_id_val (pctx,strdup (t->tpebs_name), t->val); +if (ret <0 ) +return ret; + } +return ret; +} + static int prepare_metric(const struct metric_expr *mexp, const struct evsel *evsel, struct expr_parse_ctx *pctx,
@@ -486,6 +499,11 @@ static void generic_metric(struct perf_stat_config *config, pctx->sctx.user_requested_cpu_list =strdup (config->user_requested_cpu_list); pctx->sctx.runtime = runtime; pctx->sctx.system_wide = config->system_wide; + i =prepare_retire_lat (pctx, &config->tpebs_results); +if (i <0 ) { +expr__ctx_free (pctx); +return ; + } i =prepare_metric (mexp, evsel, pctx, aggr_idx);if (i <0 ) {expr__ctx_free (pctx);
Signature · 1 line
2.43.0
RFC PATCH v2 4/6 perf stat: Create another thread for sample data processing
In reply to [email protected]From: Weilin Wang <[email protected]>
Another thread is required to synchronize between perf stat and perf record when we pass data through pipe.
--- tools/perf/builtin-stat.c | 58 +++++++++++++++++++++++---------------- 1 file changed, 34 insertions(+), 24 deletions(-)
tools/perf/builtin-stat.c +34 -24
@@ -777,7 +777,6 @@ static int process_sample_event(struct perf_tool *tool,const char *evname;struct tpebs_retire_lat *t; -pr_debug ("entering function %s\n " , __func__); evname =evsel__name (evsel);pr_debug ("[%03d] " , sample->cpu);
@@ -808,9 +807,9 @@ static int process_feature_event(struct perf_session *session,return 0 ; } -static int __cmd_script (struct child_process *cmd__maybe_unused ) +static void *__cmd_script (void *arg__maybe_unused ) { -int err =0 ; +struct child_process *cmd = arg;struct perf_session *session;struct perf_data data = { .mode =PERF_DATA_MODE_READ ,
@@ -826,29 +825,15 @@ static int __cmd_script(struct child_process *cmd __maybe_unused) .attr = perf_event__process_attr, }, }; -struct tpebs_event *e; - -list_for_each_entry (e, &stat_config.tpebs_events, nd) { -struct tpebs_retire_lat *new =malloc (sizeof (struct tpebs_retire_lat )); - -if (!new) -return -1 ; - new->name =strdup (e->name); - new->tpebs_name =strdup (e->tpebs_name); - new->count =0 ; - new->sum =0 ; -list_add_tail (&new->nd, &stat_config.tpebs_results); - } -kill (cmd->pid,SIGTERM ); session =perf_session__new (&data, &script.tool);if (IS_ERR (session)) -return PTR_ERR (session); +return NULL ; script.session = session; - err =perf_session__process_events (session); +perf_session__process_events (session);perf_session__delete (session); -return err; +return NULL ; }static int __run_perf_stat (int argc,const char **argv,int run_idx)
@@ -868,15 +853,37 @@ static int __run_perf_stat(int argc, const char **argv, int run_idx)int err;bool second_pass = false;struct child_process cmd; +pthread_t thread_script;//Prepare perf record for sampling event retire_latency before fork and prepare workload if (stat_config.tpebs_event_size >0 ) {int ret; +struct tpebs_event *e;pr_debug ("perf stat pid = %d\n" ,getpid ()); ret =prepare_perf_record (&cmd);if (ret)return ret; + +list_for_each_entry (e, &stat_config.tpebs_events, nd) { +struct tpebs_retire_lat *new =malloc (sizeof (struct tpebs_retire_lat )); + +if (!new) +return -1 ; + new->name =strdup (e->name); + new->tpebs_name =strdup (e->tpebs_name); + new->count =0 ; + new->sum =0 ; +list_add_tail (&new->nd, &stat_config.tpebs_results); + } + +if (pthread_create (&thread_script,NULL , __cmd_script, &cmd)) { +kill (cmd.pid,SIGTERM ); +close (cmd.out); +pr_err ("Could not create thread to process sample data.\n" ); +return -1 ; + } +sleep (2 ); }if (forks) {
@@ -1087,12 +1094,15 @@ static int __run_perf_stat(int argc, const char **argv, int run_idx)if (stat_config.tpebs_event_size >0 ) {int ret; -pr_debug ("pid = %d\n" ,getpid ()); -pr_debug ("cmd.pid = %d\n" , cmd.pid); +pr_debug ("Workload finished, finishing record\n" ); +pr_debug ("Perf stat pid = %d, Perf record pid = %d\n" ,getpid (), cmd.pid); - ret =__cmd_script (&cmd); +kill (cmd.pid,SIGTERM ); +pthread_join (thread_script,NULL );close (cmd.out); -pr_debug ("%d\n" , ret); + ret =finish_command (&cmd); +if (ret != -ERR_RUN_COMMAND_WAITPID_SIGNAL ) +return ret; }if (stat_config.walltime_run_table)
Signature · 1 line
2.43.0
RFC PATCH v2 5/6 perf stat: Add retire latency print functions to print out at the very end of print out
In reply to [email protected]From: Weilin Wang <[email protected]>
Add print out functions so that users could read retire latency values.
--- tools/perf/util/stat-display.c | 65 ++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+)
tools/perf/util/stat-display.c +65 -0
@@ -21,6 +21,7 @@#include "iostat.h" #include "pmu.h" #include "pmus.h" +#include "metricgroup.h" #define CNTR_NOT_SUPPORTED "<not supported>"#define CNTR_NOT_COUNTED "<not counted>"
@@ -34,6 +35,7 @@#define COMM_LEN 16#define PID_LEN 7#define CPUS_LEN 4 +#define RETIRE_LEN 8static int aggr_header_lens[] = { [AGGR_CORE ] =18 ,
@@ -426,6 +428,67 @@ static void print_metric_std(struct perf_stat_config *config,fprintf (out," %-*s" ,METRIC_LEN - n -1 , unit); } +static void print_retire_lat_std (struct perf_stat_config *config, +struct outstate *os) +{ +FILE *out = os->fh; +bool newline = os->newline; +struct tpebs_retire_lat *t; +struct list_head *retire_lats = &config->tpebs_results; + +list_for_each_entry (t, retire_lats, nd) { +if (newline) +do_new_line_std (config, os); +fprintf (out,"%'*.2f %-*s" ,COUNTS_LEN , t->val,EVNAME_LEN , t->name); +fprintf (out,"%*ld %*d\n" ,RETIRE_LEN , t->count, +RETIRE_LEN , t->sum); + } +} + +static void print_retire_lat_csv (struct perf_stat_config *config, +struct outstate *os) +{ +FILE *out = os->fh; +struct tpebs_retire_lat *t; +struct list_head *retire_lats = &config->tpebs_results; +const char *sep = config->csv_sep; + +list_for_each_entry (t, retire_lats, nd) { +fprintf (out,"%f%s%s%s%s%ld%s%d\n" , t->val, sep, sep, t->name, sep, + t->count, sep, t->sum); + } +} + +static void print_retire_lat_json (struct perf_stat_config *config, +struct outstate *os) +{ +FILE *out = os->fh; +struct tpebs_retire_lat *t; +struct list_head *retire_lats = &config->tpebs_results; + +fprintf (out,"{" ); +list_for_each_entry (t, retire_lats, nd) { +fprintf (out,"\"retire_latency-value\" : \"%f\", " , t->val); +fprintf (out,"\"event-name\" : \"%s\"" , t->name); +fprintf (out,"\"sample-counts\" : \"%ld\"" , t->count); +fprintf (out,"\"retire_latency-sum\" : \"%d\"" , t->sum); + } +fprintf (out,"}" ); +} + +static void print_retire_lat (struct perf_stat_config *config, +struct outstate *os) +{ +if (!&config->tpebs_results) +return ; +if (config->json_output) +print_retire_lat_json (config, os); +else if (config->csv_output) +print_retire_lat_csv (config, os); +else +print_retire_lat_std (config, os); +} +static void new_line_csv (struct perf_stat_config *config,void *ctx) {struct outstate *os = ctx;
@@ -1609,6 +1672,8 @@ void evlist__print_counters(struct evlist *evlist, struct perf_stat_config *confbreak ; } +print_retire_lat (config, &os); +print_footer (config);fflush (config->output);
Signature · 1 line
2.43.0
RFC PATCH v2 6/6 perf vendor events intel: Add MTL metric json files
In reply to [email protected]From: Weilin Wang <[email protected]>
Add MTL metric json file at TMA4.7 [1]. Some of the metrics' formulas use TPEBS retire_latency in MTL.
[1] https://lore.kernel.org/all/[email protected]/
--- .../arch/x86/meteorlake/metricgroups.json | 127 + .../arch/x86/meteorlake/mtl-metrics.json | 2531 +++++++++++++++++ 2 files changed, 2658 insertions(+) create mode 100644 tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json create mode 100644 tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +127 -0
@@ -0,0 +1,127 @@ +{ + "Backend": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Bad": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "BadSpec": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "BigFootprint": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "BrMispredicts": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Branches": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "C0Wait": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "CacheHits": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "CodeGen": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Compute": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Cor": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "DSB": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "DSBmiss": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "DataSharing": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Fed": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "FetchBW": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "FetchLat": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Flops": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "FpScalar": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "FpVector": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Frontend": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "HPC": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "IcMiss": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "InsType": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "IntVector": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "L2Evicts": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "LSD": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "MachineClears": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Machine_Clears": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Mem": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "MemOffcore": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "MemoryBW": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "MemoryBound": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "MemoryLat": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "MemoryTLB": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Memory_BW": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Memory_Lat": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "MicroSeq": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "OS": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Offcore": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "PGO": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Pipeline": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "PortsUtil": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Power": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Prefetches": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Ret": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Retire": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "SMT": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Server": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Snoop": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "SoC": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Summary": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "TmaL1": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "TmaL2": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "TmaL3mem": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "TopdownL1": "Metrics for top-down breakdown at level 1", + "TopdownL2": "Metrics for top-down breakdown at level 2", + "TopdownL3": "Metrics for top-down breakdown at level 3", + "TopdownL4": "Metrics for top-down breakdown at level 4", + "TopdownL5": "Metrics for top-down breakdown at level 5", + "TopdownL6": "Metrics for top-down breakdown at level 6", + "tma_L1_group": "Metrics for top-down breakdown at level 1", + "tma_L2_group": "Metrics for top-down breakdown at level 2", + "tma_L3_group": "Metrics for top-down breakdown at level 3", + "tma_L4_group": "Metrics for top-down breakdown at level 4", + "tma_L5_group": "Metrics for top-down breakdown at level 5", + "tma_L6_group": "Metrics for top-down breakdown at level 6", + "tma_alu_op_utilization_group": "Metrics contributing to tma_alu_op_utilization category", + "tma_assists_group": "Metrics contributing to tma_assists category", + "tma_backend_bound_aux_group": "Metrics contributing to tma_backend_bound_aux category", + "tma_backend_bound_group": "Metrics contributing to tma_backend_bound category", + "tma_bad_speculation_group": "Metrics contributing to tma_bad_speculation category", + "tma_base_group": "Metrics contributing to tma_base category", + "tma_branch_mispredicts_group": "Metrics contributing to tma_branch_mispredicts category", + "tma_branch_resteers_group": "Metrics contributing to tma_branch_resteers category", + "tma_core_bound_group": "Metrics contributing to tma_core_bound category", + "tma_dram_bound_group": "Metrics contributing to tma_dram_bound category", + "tma_dtlb_load_group": "Metrics contributing to tma_dtlb_load category", + "tma_dtlb_store_group": "Metrics contributing to tma_dtlb_store category", + "tma_fetch_bandwidth_group": "Metrics contributing to tma_fetch_bandwidth category", + "tma_fetch_latency_group": "Metrics contributing to tma_fetch_latency category", + "tma_fp_arith_group": "Metrics contributing to tma_fp_arith category", + "tma_fp_vector_group": "Metrics contributing to tma_fp_vector category", + "tma_frontend_bound_group": "Metrics contributing to tma_frontend_bound category", + "tma_heavy_operations_group": "Metrics contributing to tma_heavy_operations category", + "tma_int_operations_group": "Metrics contributing to tma_int_operations category", + "tma_issue2P": "Metrics related by the issue $issue2P", + "tma_issueBM": "Metrics related by the issue $issueBM", + "tma_issueBW": "Metrics related by the issue $issueBW", + "tma_issueComp": "Metrics related by the issue $issueComp", + "tma_issueD0": "Metrics related by the issue $issueD0", + "tma_issueFB": "Metrics related by the issue $issueFB", + "tma_issueFL": "Metrics related by the issue $issueFL", + "tma_issueL1": "Metrics related by the issue $issueL1", + "tma_issueLat": "Metrics related by the issue $issueLat", + "tma_issueMC": "Metrics related by the issue $issueMC", + "tma_issueMS": "Metrics related by the issue $issueMS", + "tma_issueMV": "Metrics related by the issue $issueMV", + "tma_issueRFO": "Metrics related by the issue $issueRFO", + "tma_issueSL": "Metrics related by the issue $issueSL", + "tma_issueSO": "Metrics related by the issue $issueSO", + "tma_issueSmSt": "Metrics related by the issue $issueSmSt", + "tma_issueSpSt": "Metrics related by the issue $issueSpSt", + "tma_issueSyncxn": "Metrics related by the issue $issueSyncxn", + "tma_issueTLB": "Metrics related by the issue $issueTLB", + "tma_l1_bound_group": "Metrics contributing to tma_l1_bound category", + "tma_l3_bound_group": "Metrics contributing to tma_l3_bound category", + "tma_light_operations_group": "Metrics contributing to tma_light_operations category", + "tma_load_op_utilization_group": "Metrics contributing to tma_load_op_utilization category", + "tma_machine_clears_group": "Metrics contributing to tma_machine_clears category", + "tma_mem_latency_group": "Metrics contributing to tma_mem_latency category", + "tma_mem_scheduler_group": "Metrics contributing to tma_mem_scheduler category", + "tma_memory_bound_group": "Metrics contributing to tma_memory_bound category", + "tma_microcode_sequencer_group": "Metrics contributing to tma_microcode_sequencer category", + "tma_mite_group": "Metrics contributing to tma_mite category", + "tma_nuke_group": "Metrics contributing to tma_nuke category", + "tma_other_light_ops_group": "Metrics contributing to tma_other_light_ops category", + "tma_ports_utilization_group": "Metrics contributing to tma_ports_utilization category", + "tma_ports_utilized_0_group": "Metrics contributing to tma_ports_utilized_0 category", + "tma_ports_utilized_3m_group": "Metrics contributing to tma_ports_utilized_3m category", + "tma_resource_bound_group": "Metrics contributing to tma_resource_bound category", + "tma_retiring_group": "Metrics contributing to tma_retiring category", + "tma_serializing_operation_group": "Metrics contributing to tma_serializing_operation category", + "tma_store_bound_group": "Metrics contributing to tma_store_bound category", + "tma_store_op_utilization_group": "Metrics contributing to tma_store_op_utilization category" +}
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +2531 -0
2,531 lines not on this page · raw message
Signature · 1 line
2.43.0
Ian Rogers
reviewerRe: [RFC PATCH v2 6/6] perf vendor events intel: Add MTL metric json files
Quoted 1,026 lines · On Wed, Feb 28, 2024 at 8:12 AM <[email protected]> wrote:
From: Weilin Wang <[email protected]>
Add MTL metric json file at TMA4.7 [1]. Some of the metrics' formulas use TPEBS
retire_latencyin MTL.[1] https://lore.kernel.org/all/[email protected]/
Signed-off-by Weilin Wang <[email protected]>--- .../arch/x86/meteorlake/metricgroups.json | 127 + .../arch/x86/meteorlake/mtl-metrics.json | 2531 +++++++++++++++++ 2 files changed, 2658 insertions(+) create mode 100644 tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json create mode 100644 tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.jsontools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +127
-0@@ -0,0 +1,127 @@ +{ + "Backend": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Bad": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "BadSpec": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "BigFootprint": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "BrMispredicts": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Branches": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "C0Wait": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "CacheHits": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "CodeGen": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Compute": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Cor": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "DSB": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "DSBmiss": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "DataSharing": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Fed": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "FetchBW": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "FetchLat": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Flops": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "FpScalar": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "FpVector": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Frontend": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "HPC": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "IcMiss": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "InsType": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "IntVector": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "L2Evicts": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "LSD": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "MachineClears": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Machine_Clears": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Mem": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "MemOffcore": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "MemoryBW": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "MemoryBound": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "MemoryLat": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "MemoryTLB": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Memory_BW": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Memory_Lat": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "MicroSeq": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "OS": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Offcore": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "PGO": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Pipeline": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "PortsUtil": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Power": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Prefetches": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Ret": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Retire": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "SMT": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Server": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Snoop": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "SoC": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "Summary": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "TmaL1": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "TmaL2": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "TmaL3mem": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", + "TopdownL1": "Metrics for top-down breakdown at level 1", + "TopdownL2": "Metrics for top-down breakdown at level 2", + "TopdownL3": "Metrics for top-down breakdown at level 3", + "TopdownL4": "Metrics for top-down breakdown at level 4", + "TopdownL5": "Metrics for top-down breakdown at level 5", + "TopdownL6": "Metrics for top-down breakdown at level 6", + "tma_L1_group": "Metrics for top-down breakdown at level 1", + "tma_L2_group": "Metrics for top-down breakdown at level 2", + "tma_L3_group": "Metrics for top-down breakdown at level 3", + "tma_L4_group": "Metrics for top-down breakdown at level 4", + "tma_L5_group": "Metrics for top-down breakdown at level 5", + "tma_L6_group": "Metrics for top-down breakdown at level 6", + "tma_alu_op_utilization_group": "Metrics contributing to tma_alu_op_utilization category", + "tma_assists_group": "Metrics contributing to tma_assists category", + "tma_backend_bound_aux_group": "Metrics contributing to tma_backend_bound_aux category", + "tma_backend_bound_group": "Metrics contributing to tma_backend_bound category", + "tma_bad_speculation_group": "Metrics contributing to tma_bad_speculation category", + "tma_base_group": "Metrics contributing to tma_base category", + "tma_branch_mispredicts_group": "Metrics contributing to tma_branch_mispredicts category", + "tma_branch_resteers_group": "Metrics contributing to tma_branch_resteers category", + "tma_core_bound_group": "Metrics contributing to tma_core_bound category", + "tma_dram_bound_group": "Metrics contributing to tma_dram_bound category", + "tma_dtlb_load_group": "Metrics contributing to tma_dtlb_load category", + "tma_dtlb_store_group": "Metrics contributing to tma_dtlb_store category", + "tma_fetch_bandwidth_group": "Metrics contributing to tma_fetch_bandwidth category", + "tma_fetch_latency_group": "Metrics contributing to tma_fetch_latency category", + "tma_fp_arith_group": "Metrics contributing to tma_fp_arith category", + "tma_fp_vector_group": "Metrics contributing to tma_fp_vector category", + "tma_frontend_bound_group": "Metrics contributing to tma_frontend_bound category", + "tma_heavy_operations_group": "Metrics contributing to tma_heavy_operations category", + "tma_int_operations_group": "Metrics contributing to tma_int_operations category", + "tma_issue2P": "Metrics related by the issue $issue2P", + "tma_issueBM": "Metrics related by the issue $issueBM", + "tma_issueBW": "Metrics related by the issue $issueBW", + "tma_issueComp": "Metrics related by the issue $issueComp", + "tma_issueD0": "Metrics related by the issue $issueD0", + "tma_issueFB": "Metrics related by the issue $issueFB", + "tma_issueFL": "Metrics related by the issue $issueFL", + "tma_issueL1": "Metrics related by the issue $issueL1", + "tma_issueLat": "Metrics related by the issue $issueLat", + "tma_issueMC": "Metrics related by the issue $issueMC", + "tma_issueMS": "Metrics related by the issue $issueMS", + "tma_issueMV": "Metrics related by the issue $issueMV", + "tma_issueRFO": "Metrics related by the issue $issueRFO", + "tma_issueSL": "Metrics related by the issue $issueSL", + "tma_issueSO": "Metrics related by the issue $issueSO", + "tma_issueSmSt": "Metrics related by the issue $issueSmSt", + "tma_issueSpSt": "Metrics related by the issue $issueSpSt", + "tma_issueSyncxn": "Metrics related by the issue $issueSyncxn", + "tma_issueTLB": "Metrics related by the issue $issueTLB", + "tma_l1_bound_group": "Metrics contributing to tma_l1_bound category", + "tma_l3_bound_group": "Metrics contributing to tma_l3_bound category", + "tma_light_operations_group": "Metrics contributing to tma_light_operations category", + "tma_load_op_utilization_group": "Metrics contributing to tma_load_op_utilization category", + "tma_machine_clears_group": "Metrics contributing to tma_machine_clears category", + "tma_mem_latency_group": "Metrics contributing to tma_mem_latency category", + "tma_mem_scheduler_group": "Metrics contributing to tma_mem_scheduler category", + "tma_memory_bound_group": "Metrics contributing to tma_memory_bound category", + "tma_microcode_sequencer_group": "Metrics contributing to tma_microcode_sequencer category", + "tma_mite_group": "Metrics contributing to tma_mite category", + "tma_nuke_group": "Metrics contributing to tma_nuke category", + "tma_other_light_ops_group": "Metrics contributing to tma_other_light_ops category", + "tma_ports_utilization_group": "Metrics contributing to tma_ports_utilization category", + "tma_ports_utilized_0_group": "Metrics contributing to tma_ports_utilized_0 category", + "tma_ports_utilized_3m_group": "Metrics contributing to tma_ports_utilized_3m category", + "tma_resource_bound_group": "Metrics contributing to tma_resource_bound category", + "tma_retiring_group": "Metrics contributing to tma_retiring category", + "tma_serializing_operation_group": "Metrics contributing to tma_serializing_operation category", + "tma_store_bound_group": "Metrics contributing to tma_store_bound category", + "tma_store_op_utilization_group": "Metrics contributing to tma_store_op_utilization category" +}tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +871
-0@@ -0,0 +1,2531 @@ +[ + { + "BriefDescription": "C10 residency percent per package", + "MetricExpr": "cstate_pkg@c10\\-residency@ / TSC", + "MetricGroup": "Power", + "MetricName": "C10_Pkg_Residency", + "ScaleUnit": "100%" + }, + { + "BriefDescription": "C1 residency percent per core", + "MetricExpr": "cstate_core@c1\\-residency@ / TSC", + "MetricGroup": "Power", + "MetricName": "C1_Core_Residency", + "ScaleUnit": "100%" + }, + { + "BriefDescription": "C2 residency percent per package", + "MetricExpr": "cstate_pkg@c2\\-residency@ / TSC", + "MetricGroup": "Power", + "MetricName": "C2_Pkg_Residency", + "ScaleUnit": "100%" + }, + { + "BriefDescription": "C3 residency percent per package", + "MetricExpr": "cstate_pkg@c3\\-residency@ / TSC", + "MetricGroup": "Power", + "MetricName": "C3_Pkg_Residency", + "ScaleUnit": "100%" + }, + { + "BriefDescription": "C6 residency percent per core", + "MetricExpr": "cstate_core@c6\\-residency@ / TSC", + "MetricGroup": "Power", + "MetricName": "C6_Core_Residency", + "ScaleUnit": "100%" + }, + { + "BriefDescription": "C6 residency percent per package", + "MetricExpr": "cstate_pkg@c6\\-residency@ / TSC", + "MetricGroup": "Power", + "MetricName": "C6_Pkg_Residency", + "ScaleUnit": "100%" + }, + { + "BriefDescription": "C7 residency percent per core", + "MetricExpr": "cstate_core@c7\\-residency@ / TSC", + "MetricGroup": "Power", + "MetricName": "C7_Core_Residency", + "ScaleUnit": "100%" + }, + { + "BriefDescription": "C7 residency percent per package", + "MetricExpr": "cstate_pkg@c7\\-residency@ / TSC", + "MetricGroup": "Power", + "MetricName": "C7_Pkg_Residency", + "ScaleUnit": "100%" + }, + { + "BriefDescription": "C8 residency percent per package", + "MetricExpr": "cstate_pkg@c8\\-residency@ / TSC", + "MetricGroup": "Power", + "MetricName": "C8_Pkg_Residency", + "ScaleUnit": "100%" + }, + { + "BriefDescription": "C9 residency percent per package", + "MetricExpr": "cstate_pkg@c9\\-residency@ / TSC", + "MetricGroup": "Power", + "MetricName": "C9_Pkg_Residency", + "ScaleUnit": "100%" + }, + { + "BriefDescription": "Percentage of cycles spent in System Management Interrupts.", + "MetricExpr": "((msr@aperf@ - cycles) / msr@aperf@ if msr@smi@ > 0 else 0)", + "MetricGroup": "smi", + "MetricName": "smi_cycles", + "MetricThreshold": "smi_cycles > 0.1", + "ScaleUnit": "100%" + }, + { + "BriefDescription": "Number of SMI interrupts.", + "MetricExpr": "msr@smi@", + "MetricGroup": "smi", + "MetricName": "smi_num", + "ScaleUnit": "1SMI#" + }, + { + "BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to certain allocation restrictions.", + "MetricExpr": "cpu_atom@TOPDOWN_BE_BOUND.ALLOC_RESTRICTIONS@ / tma_info_core_slots", + "MetricGroup": "TopdownL3;tma_L3_group;tma_resource_bound_group", + "MetricName": "tma_alloc_restriction", + "MetricThreshold": "tma_alloc_restriction > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the total number of issue slots that were not consumed by the backend due to backend stalls", + "MetricExpr": "cpu_atom@TOPDOWN_BE_BOUND.ALL@ / tma_info_core_slots", + "MetricGroup": "TopdownL1;tma_L1_group", + "MetricName": "tma_backend_bound", + "MetricThreshold": "tma_backend_bound > 0.1", + "MetricgroupNoGroup": "TopdownL1", + "PublicDescription": "Counts the total number of issue slots that were not consumed by the backend due to backend stalls. Note that uops must be available for consumption in order for this event to count. If a uop is not available (IQ is empty), this event will not count. The rest of these subevents count backend stalls, in cycles, due to an outstanding request which is memory bound vs core bound. The subevents are not slot based events and therefore can not be precisely added or subtracted from the Backend_Bound_Aux subevents which are slot based.", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the total number of issue slots that were not consumed by the backend due to backend stalls", + "MetricExpr": "tma_backend_bound", + "MetricGroup": "TopdownL1;tma_L1_group", + "MetricName": "tma_backend_bound_aux", + "MetricThreshold": "tma_backend_bound_aux > 0.2", + "MetricgroupNoGroup": "TopdownL1", + "PublicDescription": "Counts the total number of issue slots that were not consumed by the backend due to backend stalls. Note that UOPS must be available for consumption in order for this event to count. If a uop is not available (IQ is empty), this event will not count. All of these subevents count backend stalls, in slots, due to a resource limitation. These are not cycle based events and therefore can not be precisely added or subtracted from the Backend_Bound subevents which are cycle based. These subevents are supplementary to Backend_Bound and can be used to analyze results from a resource perspective at allocation.", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the total number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear", + "MetricExpr": "cpu_atom@TOPDOWN_BAD_SPECULATION.ALL@ / tma_info_core_slots", + "MetricGroup": "TopdownL1;tma_L1_group", + "MetricName": "tma_bad_speculation", + "MetricThreshold": "tma_bad_speculation > 0.15", + "MetricgroupNoGroup": "TopdownL1", + "PublicDescription": "Counts the total number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear. Only issue slots wasted due to fast nukes such as memory ordering nukes are counted. Other nukes are not accounted for. Counts all issue slots blocked during this recovery window including relevant microcode flows and while uops are not yet available in the instruction queue (IQ). Also includes the issue slots that were consumed by the backend but were thrown away because they were younger than the mispredict or machine clear.", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of uops that are not from the microsequencer.", + "MetricExpr": "(cpu_atom@TOPDOWN_RETIRING.ALL@ - cpu_atom@UOPS_RETIRED.MS@) / tma_info_core_slots", + "MetricGroup": "TopdownL2;tma_L2_group;tma_retiring_group", + "MetricName": "tma_base", + "MetricThreshold": "tma_base > 0.6", + "MetricgroupNoGroup": "TopdownL2", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to BACLEARS, which occurs when the Branch Target Buffer (BTB) prediction or lack thereof, was corrected by a later branch predictor in the frontend", + "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.BRANCH_DETECT@ / tma_info_core_slots", + "MetricGroup": "TopdownL3;tma_L3_group;tma_fetch_latency_group", + "MetricName": "tma_branch_detect", + "MetricThreshold": "tma_branch_detect > 0.05", + "PublicDescription": "Counts the number of issue slots that were not delivered by the frontend due to BACLEARS, which occurs when the Branch Target Buffer (BTB) prediction or lack thereof, was corrected by a later branch predictor in the frontend. Includes BACLEARS due to all branch types including conditional and unconditional jumps, returns, and indirect branches.", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to branch mispredicts.", + "MetricExpr": "cpu_atom@TOPDOWN_BAD_SPECULATION.MISPREDICT@ / tma_info_core_slots", + "MetricGroup": "TopdownL2;tma_L2_group;tma_bad_speculation_group", + "MetricName": "tma_branch_mispredicts", + "MetricThreshold": "tma_branch_mispredicts > 0.05", + "MetricgroupNoGroup": "TopdownL2", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to BTCLEARS, which occurs when the Branch Target Buffer (BTB) predicts a taken branch.", + "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.BRANCH_RESTEER@ / tma_info_core_slots", + "MetricGroup": "TopdownL3;tma_L3_group;tma_fetch_latency_group", + "MetricName": "tma_branch_resteer", + "MetricThreshold": "tma_branch_resteer > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to the microcode sequencer (MS).", + "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.CISC@ / tma_info_core_slots", + "MetricGroup": "TopdownL3;tma_L3_group;tma_fetch_bandwidth_group", + "MetricName": "tma_cisc", + "MetricThreshold": "tma_cisc > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles due to backend bound stalls that are core execution bound and not attributed to outstanding demand load or store stalls.", + "MetricExpr": "max(0, tma_backend_bound - tma_memory_bound)", + "MetricGroup": "TopdownL2;tma_L2_group;tma_backend_bound_group", + "MetricName": "tma_core_bound", + "MetricThreshold": "tma_core_bound > 0.1", + "MetricgroupNoGroup": "TopdownL2", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to decode stalls.", + "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.DECODE@ / tma_info_core_slots", + "MetricGroup": "TopdownL3;tma_L3_group;tma_fetch_bandwidth_group", + "MetricName": "tma_decode", + "MetricThreshold": "tma_decode > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of machine clears relative to the number of nuke slots due to memory disambiguation.", + "MetricExpr": "tma_nuke * (cpu_atom@MACHINE_CLEARS.DISAMBIGUATION@ / cpu_atom@MACHINE_CLEARS.SLOW@)", + "MetricGroup": "TopdownL4;tma_L4_group;tma_nuke_group", + "MetricName": "tma_disambiguation", + "MetricThreshold": "tma_disambiguation > 0.02", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles the core is stalled due to a demand load miss which hit in DRAM or MMIO (Non-DRAM).", + "MetricExpr": "cpu_atom@MEM_BOUND_STALLS_LOAD.LLC_MISS@ / tma_info_core_clks - max((cpu_atom@MEM_BOUND_STALLS_LOAD.ALL@ - cpu_atom@LD_HEAD.L1_MISS_AT_RET@) / tma_info_core_clks, 0) * cpu_atom@MEM_BOUND_STALLS_LOAD.LLC_MISS@ / cpu_atom@MEM_BOUND_STALLS_LOAD.ALL@", + "MetricGroup": "TopdownL3;tma_L3_group;tma_memory_bound_group", + "MetricName": "tma_dram_bound", + "MetricThreshold": "tma_dram_bound > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to a machine clear classified as a fast nuke due to memory ordering, memory disambiguation and memory renaming.", + "MetricExpr": "cpu_atom@TOPDOWN_BAD_SPECULATION.FASTNUKE@ / tma_info_core_slots", + "MetricGroup": "TopdownL3;tma_L3_group;tma_machine_clears_group", + "MetricName": "tma_fast_nuke", + "MetricThreshold": "tma_fast_nuke > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to frontend bandwidth restrictions due to decode, predecode, cisc, and other limitations.", + "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.FRONTEND_BANDWIDTH@ / tma_info_core_slots", + "MetricGroup": "TopdownL2;tma_L2_group;tma_frontend_bound_group", + "MetricName": "tma_fetch_bandwidth", + "MetricThreshold": "tma_fetch_bandwidth > 0.1", + "MetricgroupNoGroup": "TopdownL2", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to frontend bandwidth restrictions due to decode, predecode, cisc, and other limitations.", + "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.FRONTEND_LATENCY@ / tma_info_core_slots", + "MetricGroup": "TopdownL2;tma_L2_group;tma_frontend_bound_group", + "MetricName": "tma_fetch_latency", + "MetricThreshold": "tma_fetch_latency > 0.15", + "MetricgroupNoGroup": "TopdownL2", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of machine clears relative to the number of nuke slots due to FP assists.", + "MetricExpr": "tma_nuke * (cpu_atom@MACHINE_CLEARS.FP_ASSIST@ / cpu_atom@MACHINE_CLEARS.SLOW@)", + "MetricGroup": "TopdownL4;tma_L4_group;tma_nuke_group", + "MetricName": "tma_fp_assist", + "MetricThreshold": "tma_fp_assist > 0.02", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of floating point divide operations per uop.", + "MetricExpr": "cpu_atom@UOPS_RETIRED.FPDIV@ / tma_info_core_slots", + "MetricGroup": "TopdownL3;tma_L3_group;tma_base_group", + "MetricName": "tma_fpdiv_uops", + "MetricThreshold": "tma_fpdiv_uops > 0.2", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to frontend stalls.", + "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.ALL@ / tma_info_core_slots", + "MetricGroup": "TopdownL1;tma_L1_group", + "MetricName": "tma_frontend_bound", + "MetricThreshold": "tma_frontend_bound > 0.2", + "MetricgroupNoGroup": "TopdownL1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to instruction cache misses.", + "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.ICACHE@ / tma_info_core_slots", + "MetricGroup": "TopdownL3;tma_L3_group;tma_fetch_latency_group", + "MetricName": "tma_icache_misses", + "MetricThreshold": "tma_icache_misses > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "", + "MetricExpr": "cpu_atom@CPU_CLK_UNHALTED.CORE@", + "MetricName": "tma_info_core_clks", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "", + "MetricExpr": "cpu_atom@CPU_CLK_UNHALTED.CORE_P@", + "MetricName": "tma_info_core_clks_p", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Cycles Per Instruction", + "MetricExpr": "tma_info_core_clks / INST_RETIRED.ANY", + "MetricName": "tma_info_core_cpi", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Instructions Per Cycle", + "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ / tma_info_core_clks", + "MetricName": "tma_info_core_ipc", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "", + "MetricExpr": "6 * tma_info_core_clks", + "MetricName": "tma_info_core_slots", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Uops Per Instruction", + "MetricExpr": "cpu_atom@UOPS_RETIRED.ALL@ / INST_RETIRED.ANY", + "MetricName": "tma_info_core_upi", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Percent of instruction miss cost that hit in DRAM", + "MetricExpr": "100 * cpu_atom@MEM_BOUND_STALLS_IFETCH.LLC_MISS@ / cpu_atom@MEM_BOUND_STALLS_IFETCH.ALL@", + "MetricName": "tma_info_frontend_inst_miss_cost_dramhit_percent", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Percent of instruction miss cost that hit in the L2", + "MetricExpr": "100 * cpu_atom@MEM_BOUND_STALLS_IFETCH.L2_HIT@ / cpu_atom@MEM_BOUND_STALLS_IFETCH.ALL@", + "MetricName": "tma_info_frontend_inst_miss_cost_l2hit_percent", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Percent of instruction miss cost that hit in the L3", + "MetricExpr": "100 * cpu_atom@MEM_BOUND_STALLS_IFETCH.LLC_HIT@ / cpu_atom@MEM_BOUND_STALLS_IFETCH.ALL@", + "MetricName": "tma_info_frontend_inst_miss_cost_l3hit_percent", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Ratio of all branches which mispredict", + "MetricExpr": "cpu_atom@BR_MISP_RETIRED.ALL_BRANCHES@ / BR_INST_RETIRED.ALL_BRANCHES", + "MetricName": "tma_info_inst_mix_branch_mispredict_ratio", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Ratio between Mispredicted branches and unknown branches", + "MetricExpr": "cpu_atom@BR_MISP_RETIRED.ALL_BRANCHES@ / BACLEARS.ANY", + "MetricName": "tma_info_inst_mix_branch_mispredict_to_unknown_branch_ratio", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Percentage of all uops which are FPDiv uops", + "MetricExpr": "100 * cpu_atom@UOPS_RETIRED.FPDIV@ / UOPS_RETIRED.ALL", + "MetricName": "tma_info_inst_mix_fpdiv_uop_ratio", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Percentage of all uops which are IDiv uops", + "MetricExpr": "100 * cpu_atom@UOPS_RETIRED.IDIV@ / UOPS_RETIRED.ALL", + "MetricName": "tma_info_inst_mix_idiv_uop_ratio", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Instructions per Branch (lower number means higher occurrence rate)", + "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ / BR_INST_RETIRED.ALL_BRANCHES", + "MetricName": "tma_info_inst_mix_ipbranch", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Instruction per (near) call (lower number means higher occurrence rate)", + "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ / BR_INST_RETIRED.NEAR_CALL", + "MetricName": "tma_info_inst_mix_ipcall", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Instructions per Far Branch", + "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ / (cpu_atom@BR_INST_RETIRED.FAR_BRANCH@ / 2)", + "MetricName": "tma_info_inst_mix_ipfarbranch", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Instructions per Load", + "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ / MEM_UOPS_RETIRED.ALL_LOADS", + "MetricName": "tma_info_inst_mix_ipload", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Instructions per retired conditional Branch Misprediction where the branch was not taken", + "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ / (cpu_atom@BR_MISP_RETIRED.COND@ - cpu_atom@BR_MISP_RETIRED.COND_TAKEN@)", + "MetricName": "tma_info_inst_mix_ipmisp_cond_ntaken", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Instructions per retired conditional Branch Misprediction where the branch was taken", + "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ / BR_MISP_RETIRED.COND_TAKEN", + "MetricName": "tma_info_inst_mix_ipmisp_cond_taken", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Instructions per retired indirect call or jump Branch Misprediction", + "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ / BR_MISP_RETIRED.INDIRECT", + "MetricName": "tma_info_inst_mix_ipmisp_indirect", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Instructions per retired return Branch Misprediction", + "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ / BR_MISP_RETIRED.RETURN", + "MetricName": "tma_info_inst_mix_ipmisp_ret", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Instructions per retired Branch Misprediction", + "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ / BR_MISP_RETIRED.ALL_BRANCHES", + "MetricName": "tma_info_inst_mix_ipmispredict", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Instructions per Store", + "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ / MEM_UOPS_RETIRED.ALL_STORES", + "MetricName": "tma_info_inst_mix_ipstore", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Percentage of all uops which are ucode ops", + "MetricExpr": "100 * cpu_atom@UOPS_RETIRED.MS@ / UOPS_RETIRED.ALL", + "MetricName": "tma_info_inst_mix_microcode_uop_ratio", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Percentage of all uops which are x87 uops", + "MetricExpr": "100 * cpu_atom@UOPS_RETIRED.X87@ / UOPS_RETIRED.ALL", + "MetricName": "tma_info_inst_mix_x87_uop_ratio", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Percentage of total non-speculative loads with a address aliasing block", + "MetricExpr": "100 * cpu_atom@LD_BLOCKS.ADDRESS_ALIAS@ / MEM_UOPS_RETIRED.ALL_LOADS", + "MetricName": "tma_info_l1_bound_address_alias_blocks", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Percentage of total non-speculative loads that are splits", + "MetricExpr": "100 * cpu_atom@MEM_UOPS_RETIRED.SPLIT_LOADS@ / MEM_UOPS_RETIRED.ALL_LOADS", + "MetricName": "tma_info_l1_bound_load_splits", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Percentage of total non-speculative loads with a store forward or unknown store address block", + "MetricExpr": "100 * cpu_atom@LD_BLOCKS.DATA_UNKNOWN@ / MEM_UOPS_RETIRED.ALL_LOADS", + "MetricName": "tma_info_l1_bound_store_fwd_blocks", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Cycle cost per L2 hit", + "MetricExpr": "cpu_atom@MEM_BOUND_STALLS_LOAD.L2_HIT@ / MEM_LOAD_UOPS_RETIRED.L2_HIT", + "MetricName": "tma_info_memory_cycles_per_demand_load_l2_hit", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Cycle cost per LLC hit", + "MetricExpr": "cpu_atom@MEM_BOUND_STALLS_LOAD.LLC_HIT@ / MEM_LOAD_UOPS_RETIRED.L3_HIT", + "MetricName": "tma_info_memory_cycles_per_demand_load_l3_hit", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "load ops retired per 1000 instruction", + "MetricExpr": "1e3 * cpu_atom@MEM_UOPS_RETIRED.ALL_LOADS@ / INST_RETIRED.ANY", + "MetricName": "tma_info_memory_memloadpki", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Average CPU Utilization", + "MetricExpr": "cpu_atom@CPU_CLK_UNHALTED.REF_TSC@ / TSC", + "MetricName": "tma_info_system_cpu_utilization", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Fraction of cycles spent in Kernel mode", + "MetricExpr": "cpu_atom@CPU_CLK_UNHALTED.CORE@k / CPU_CLK_UNHALTED.CORE", + "MetricGroup": "Summary", + "MetricName": "tma_info_system_kernel_utilization", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Average Frequency Utilization relative nominal frequency", + "MetricExpr": "tma_info_core_clks / CPU_CLK_UNHALTED.REF_TSC", + "MetricGroup": "Power", + "MetricName": "tma_info_system_turbo_utilization", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to Instruction Table Lookaside Buffer (ITLB) misses.", + "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.ITLB_MISS@ / tma_info_core_slots", + "MetricGroup": "TopdownL3;tma_L3_group;tma_fetch_latency_group", + "MetricName": "tma_itlb_misses", + "MetricThreshold": "tma_itlb_misses > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles that the oldest load of the load buffer is stalled at retirement due to a load block.", + "MetricExpr": "cpu_atom@LD_HEAD.L1_BOUND_AT_RET@ / tma_info_core_clks", + "MetricGroup": "TopdownL3;tma_L3_group;tma_memory_bound_group", + "MetricName": "tma_l1_bound", + "MetricThreshold": "tma_l1_bound > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles a core is stalled due to a demand load which hit in the L2 Cache.", + "MetricExpr": "cpu_atom@MEM_BOUND_STALLS_LOAD.L2_HIT@ / tma_info_core_clks - max((cpu_atom@MEM_BOUND_STALLS_LOAD.ALL@ - cpu_atom@LD_HEAD.L1_MISS_AT_RET@) / tma_info_core_clks, 0) * cpu_atom@MEM_BOUND_STALLS_LOAD.L2_HIT@ / cpu_atom@MEM_BOUND_STALLS_LOAD.ALL@", + "MetricGroup": "TopdownL3;tma_L3_group;tma_memory_bound_group", + "MetricName": "tma_l2_bound", + "MetricThreshold": "tma_l2_bound > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles a core is stalled due to a demand load which hit in the Last Level Cache (LLC) or other core with HITE/F/M.", + "MetricExpr": "cpu_atom@MEM_BOUND_STALLS_LOAD.LLC_HIT@ / tma_info_core_clks - max((cpu_atom@MEM_BOUND_STALLS_LOAD.ALL@ - cpu_atom@LD_HEAD.L1_MISS_AT_RET@) / tma_info_core_clks, 0) * cpu_atom@MEM_BOUND_STALLS_LOAD.LLC_HIT@ / cpu_atom@MEM_BOUND_STALLS_LOAD.ALL@", + "MetricGroup": "TopdownL3;tma_L3_group;tma_memory_bound_group", + "MetricName": "tma_l3_bound", + "MetricThreshold": "tma_l3_bound > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles, relative to the number of mem_scheduler slots, in which uops are blocked due to load buffer full", + "MetricExpr": "tma_mem_scheduler * cpu_atom@MEM_SCHEDULER_BLOCK.LD_BUF@ / MEM_SCHEDULER_BLOCK.ALL", + "MetricGroup": "TopdownL4;tma_L4_group;tma_mem_scheduler_group", + "MetricName": "tma_ld_buffer", + "MetricThreshold": "tma_ld_buffer > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the total number of issue slots that were not consumed by the backend because allocation is stalled due to a machine clear (nuke) of any kind including memory ordering and memory disambiguation.", + "MetricExpr": "cpu_atom@TOPDOWN_BAD_SPECULATION.MACHINE_CLEARS@ / tma_info_core_slots", + "MetricGroup": "TopdownL2;tma_L2_group;tma_bad_speculation_group", + "MetricName": "tma_machine_clears", + "MetricThreshold": "tma_machine_clears > 0.05", + "MetricgroupNoGroup": "TopdownL2", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to memory reservation stalls in which a scheduler is not able to accept uops.", + "MetricExpr": "cpu_atom@TOPDOWN_BE_BOUND.MEM_SCHEDULER@ / tma_info_core_slots", + "MetricGroup": "TopdownL3;tma_L3_group;tma_resource_bound_group", + "MetricName": "tma_mem_scheduler", + "MetricThreshold": "tma_mem_scheduler > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles the core is stalled due to stores or loads.", + "MetricExpr": "min(tma_backend_bound, cpu_atom@LD_HEAD.ANY_AT_RET@ / tma_info_core_clks + tma_store_bound)", + "MetricGroup": "TopdownL2;tma_L2_group;tma_backend_bound_group", + "MetricName": "tma_memory_bound", + "MetricThreshold": "tma_memory_bound > 0.2", + "MetricgroupNoGroup": "TopdownL2", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of machine clears relative to the number of nuke slots due to memory ordering.", + "MetricExpr": "tma_nuke * (cpu_atom@MACHINE_CLEARS.MEMORY_ORDERING@ / cpu_atom@MACHINE_CLEARS.SLOW@)", + "MetricGroup": "TopdownL4;tma_L4_group;tma_nuke_group", + "MetricName": "tma_memory_ordering", + "MetricThreshold": "tma_memory_ordering > 0.02", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of uops that are from the complex flows issued by the micro-sequencer (MS)", + "MetricExpr": "cpu_atom@UOPS_RETIRED.MS@ / tma_info_core_slots", + "MetricGroup": "TopdownL2;tma_L2_group;tma_retiring_group", + "MetricName": "tma_ms_uops", + "MetricThreshold": "tma_ms_uops > 0.05", + "MetricgroupNoGroup": "TopdownL2", + "PublicDescription": "Counts the number of uops that are from the complex flows issued by the micro-sequencer (MS). This includes uops from flows due to complex instructions, faults, assists, and inserted flows.", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to IEC or FPC RAT stalls, which can be due to FIQ or IEC reservation stalls in which the integer, floating point or SIMD scheduler is not able to accept uops.", + "MetricExpr": "cpu_atom@TOPDOWN_BE_BOUND.NON_MEM_SCHEDULER@ / tma_info_core_slots", + "MetricGroup": "TopdownL3;tma_L3_group;tma_resource_bound_group", + "MetricName": "tma_non_mem_scheduler", + "MetricThreshold": "tma_non_mem_scheduler > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to a machine clear (slow nuke).", + "MetricExpr": "cpu_atom@TOPDOWN_BAD_SPECULATION.NUKE@ / tma_info_core_slots", + "MetricGroup": "TopdownL3;tma_L3_group;tma_machine_clears_group", + "MetricName": "tma_nuke", + "MetricThreshold": "tma_nuke > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to other common frontend stalls not categorized.", + "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.OTHER@ / tma_info_core_slots", + "MetricGroup": "TopdownL3;tma_L3_group;tma_fetch_bandwidth_group", + "MetricName": "tma_other_fb", + "MetricThreshold": "tma_other_fb > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles that the oldest load of the load buffer is stalled at retirement due to a number of other load blocks.", + "MetricExpr": "cpu_atom@LD_HEAD.OTHER_AT_RET@ / tma_info_core_clks", + "MetricGroup": "TopdownL4;tma_L4_group;tma_l1_bound_group", + "MetricName": "tma_other_l1", + "MetricThreshold": "tma_other_l1 > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles the core is stalled due to a demand load miss which hits in the L2, LLC, DRAM or MMIO (Non-DRAM) but could not be correctly attributed or cycles in which the load miss is waiting on a request buffer.", + "MetricExpr": "max(0, tma_memory_bound - (tma_store_bound + tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_dram_bound))", + "MetricGroup": "TopdownL3;tma_L3_group;tma_memory_bound_group", + "MetricName": "tma_other_load_store", + "MetricThreshold": "tma_other_load_store > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of uops retired excluding ms and fp div uops.", + "MetricExpr": "(cpu_atom@TOPDOWN_RETIRING.ALL@ - cpu_atom@UOPS_RETIRED.MS@ - cpu_atom@UOPS_RETIRED.FPDIV@) / tma_info_core_slots", + "MetricGroup": "TopdownL3;tma_L3_group;tma_base_group", + "MetricName": "tma_other_ret", + "MetricThreshold": "tma_other_ret > 0.3", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of machine clears relative to the number of nuke slots due to page faults.", + "MetricExpr": "tma_nuke * (cpu_atom@MACHINE_CLEARS.PAGE_FAULT@ / cpu_atom@MACHINE_CLEARS.SLOW@)", + "MetricGroup": "TopdownL4;tma_L4_group;tma_nuke_group", + "MetricName": "tma_page_fault", + "MetricThreshold": "tma_page_fault > 0.02", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to wrong predecodes.", + "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.PREDECODE@ / tma_info_core_slots", + "MetricGroup": "TopdownL3;tma_L3_group;tma_fetch_bandwidth_group", + "MetricName": "tma_predecode", + "MetricThreshold": "tma_predecode > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to the physical register file unable to accept an entry (marble stalls).", + "MetricExpr": "cpu_atom@TOPDOWN_BE_BOUND.REGISTER@ / tma_info_core_slots", + "MetricGroup": "TopdownL3;tma_L3_group;tma_resource_bound_group", + "MetricName": "tma_register", + "MetricThreshold": "tma_register > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to the reorder buffer being full (ROB stalls).", + "MetricExpr": "cpu_atom@TOPDOWN_BE_BOUND.REORDER_BUFFER@ / tma_info_core_slots", + "MetricGroup": "TopdownL3;tma_L3_group;tma_resource_bound_group", + "MetricName": "tma_reorder_buffer", + "MetricThreshold": "tma_reorder_buffer > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the total number of issue slots that were not consumed by the backend due to backend stalls", + "MetricExpr": "tma_backend_bound", + "MetricGroup": "TopdownL2;tma_L2_group;tma_backend_bound_aux_group", + "MetricName": "tma_resource_bound", + "MetricThreshold": "tma_resource_bound > 0.2", + "MetricgroupNoGroup": "TopdownL2", + "PublicDescription": "Counts the total number of issue slots that were not consumed by the backend due to backend stalls. Note that uops must be available for consumption in order for this event to count. If a uop is not available (IQ is empty), this event will not count.", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that result in retirement slots.", + "MetricExpr": "cpu_atom@TOPDOWN_RETIRING.ALL@ / tma_info_core_slots", + "MetricGroup": "TopdownL1;tma_L1_group", + "MetricName": "tma_retiring", + "MetricThreshold": "tma_retiring > 0.75", + "MetricgroupNoGroup": "TopdownL1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles, relative to the number of mem_scheduler slots, in which uops are blocked due to RSV full relative", + "MetricExpr": "tma_mem_scheduler * cpu_atom@MEM_SCHEDULER_BLOCK.RSV@ / MEM_SCHEDULER_BLOCK.ALL", + "MetricGroup": "TopdownL4;tma_L4_group;tma_mem_scheduler_group", + "MetricName": "tma_rsv", + "MetricThreshold": "tma_rsv > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to scoreboards from the instruction queue (IQ), jump execution unit (JEU), or microcode sequencer (MS).", + "MetricExpr": "cpu_atom@TOPDOWN_BE_BOUND.SERIALIZATION@ / tma_info_core_slots", + "MetricGroup": "TopdownL3;tma_L3_group;tma_resource_bound_group", + "MetricName": "tma_serialization", + "MetricThreshold": "tma_serialization > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of machine clears relative to the number of nuke slots due to SMC.", + "MetricExpr": "tma_nuke * (cpu_atom@MACHINE_CLEARS.SMC@ / cpu_atom@MACHINE_CLEARS.SLOW@)", + "MetricGroup": "TopdownL4;tma_L4_group;tma_nuke_group", + "MetricName": "tma_smc", + "MetricThreshold": "tma_smc > 0.02", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles, relative to the number of mem_scheduler slots, in which uops are blocked due to store buffer full", + "MetricExpr": "tma_store_bound", + "MetricGroup": "TopdownL4;tma_L4_group;tma_mem_scheduler_group", + "MetricName": "tma_st_buffer", + "MetricThreshold": "tma_st_buffer > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles that the oldest load of the load buffer is stalled at retirement due to a first level TLB miss.", + "MetricExpr": "cpu_atom@LD_HEAD.DTLB_MISS_AT_RET@ / tma_info_core_clks", + "MetricGroup": "TopdownL4;tma_L4_group;tma_l1_bound_group", + "MetricName": "tma_stlb_hit", + "MetricThreshold": "tma_stlb_hit > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles that the oldest load of the load buffer is stalled at retirement due to a second level TLB miss requiring a page walk.", + "MetricExpr": "cpu_atom@LD_HEAD.PGWALK_AT_RET@ / tma_info_core_clks", + "MetricGroup": "TopdownL4;tma_L4_group;tma_l1_bound_group", + "MetricName": "tma_stlb_miss", + "MetricThreshold": "tma_stlb_miss > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles the core is stalled due to store buffer full.", + "MetricExpr": "tma_mem_scheduler * (cpu_atom@MEM_SCHEDULER_BLOCK.ST_BUF@ / cpu_atom@MEM_SCHEDULER_BLOCK.ALL@)", + "MetricGroup": "TopdownL3;tma_L3_group;tma_memory_bound_group", + "MetricName": "tma_store_bound", + "MetricThreshold": "tma_store_bound > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles that the oldest load of the load buffer is stalled at retirement due to a store forward block.", + "MetricExpr": "cpu_atom@LD_HEAD.ST_ADDR_AT_RET@ / tma_info_core_clks", + "MetricGroup": "TopdownL4;tma_L4_group;tma_l1_bound_group", + "MetricName": "tma_store_fwd_blk", + "MetricThreshold": "tma_store_fwd_blk > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Uncore frequency per die [GHZ]", + "MetricExpr": "tma_info_system_socket_clks / #num_dies / duration_time / 1e9", + "MetricGroup": "SoC", + "MetricName": "UNCORE_FREQ", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution ports for ALU operations.", + "MetricExpr": "(cpu_core@UOPS_DISPATCHED.PORT_0@ + cpu_core@UOPS_DISPATCHED.PORT_1@ + cpu_core@UOPS_DISPATCHED.PORT_5_11@ + cpu_core@UOPS_DISPATCHED.PORT_6@) / (5 * tma_info_core_core_clks)", + "MetricGroup": "TopdownL5;tma_L5_group;tma_ports_utilized_3m_group", + "MetricName": "tma_alu_op_utilization", + "MetricThreshold": "tma_alu_op_utilization > 0.4", + "ScaleUnit": "100%", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This metric estimates fraction of slots the CPU retired uops delivered by the Microcode_Sequencer as a result of Assists", + "MetricExpr": "78 * [email protected]@ / tma_info_thread_slots", + "MetricGroup": "TopdownL4;tma_L4_group;tma_microcode_sequencer_group", + "MetricName": "tma_assists", + "MetricThreshold": "tma_assists > 0.1 & (tma_microcode_sequencer > 0.05 & tma_heavy_operations > 0.1)", + "PublicDescription": "This metric estimates fraction of slots the CPU retired uops delivered by the Microcode_Sequencer as a result of Assists. Assists are long sequences of uops that are required in certain corner-cases for operations that cannot be handled natively by the execution pipeline. For example; when working with very small floating point values (so-called Denormals); the FP units are not set up to perform these operations natively. Instead; a sequence of instructions to perform the computation on the Denormals is injected into the pipeline. Since these microcode sequences might be dozens of uops long; Assists can be extremely deleterious to performance and they can be avoided in many cases. Sample with: ASSISTS.ANY", + "ScaleUnit": "100%", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This metric estimates fraction of slots the CPU retired uops as a result of handing SSE to AVX* or AVX* to SSE transition Assists.", + "MetricExpr": "63 * [email protected]_AVX_MIX@ / tma_info_thread_slots", + "MetricGroup": "HPC;TopdownL5;tma_L5_group;tma_assists_group", + "MetricName": "tma_avx_assists", + "MetricThreshold": "tma_avx_assists > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This category represents fraction of slots where no uops are being delivered due to a lack of required resources for accepting new uops in the Backend", + "MetricExpr": "cpu_core@topdown\\-be\\-bound@ / (cpu_core@topdown\\-fe\\-bound@ + cpu_core@topdown\\-bad\\-spec@ + cpu_core@topdown\\-retiring@ + cpu_core@topdown\\-be\\-bound@) + 0 * tma_info_thread_slots", + "MetricGroup": "TmaL1;TopdownL1;tma_L1_group", + "MetricName": "tma_backend_bound", + "MetricThreshold": "tma_backend_bound > 0.2", + "MetricgroupNoGroup": "TopdownL1", + "PublicDescription": "This category represents fraction of slots where no uops are being delivered due to a lack of required resources for accepting new uops in the Backend. Backend is the portion of the processor core where the out-of-order scheduler dispatches ready uops into their respective execution units; and once completed these uops get retired according to program order. For example; stalls due to data-cache misses or stalls due to the divider unit being overloaded are both categorized under Backend Bound. Backend Bound is further divided into two main categories: Memory Bound and Core Bound. Sample with: TOPDOWN.BACKEND_BOUND_SLOTS", + "ScaleUnit": "100%", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This category represents fraction of slots wasted due to incorrect speculations", + "MetricExpr": "max(1 - (tma_frontend_bound + tma_backend_bound + tma_retiring), 0)", + "MetricGroup": "TmaL1;TopdownL1;tma_L1_group", + "MetricName": "tma_bad_speculation", + "MetricThreshold": "tma_bad_speculation > 0.15", + "MetricgroupNoGroup": "TopdownL1", + "PublicDescription": "This category represents fraction of slots wasted due to incorrect speculations. This include slots used to issue uops that do not eventually get retired and slots for which the issue-pipeline was blocked due to recovery from earlier incorrect speculation. For example; wasted work due to miss-predicted branches are categorized under Bad Speculation category. Incorrect data speculation followed by Memory Ordering Nukes is another example.", + "ScaleUnit": "100%", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This metric represents fraction of slots the CPU has wasted due to Branch Misprediction", + "MetricExpr": "cpu_core@topdown\\-br\\-mispredict@ / (cpu_core@topdown\\-fe\\-bound@ + cpu_core@topdown\\-bad\\-spec@ + cpu_core@topdown\\-retiring@ + cpu_core@topdown\\-be\\-bound@) + 0 * tma_info_thread_slots", + "MetricGroup": "BadSpec;BrMispredicts;TmaL2;TopdownL2;tma_L2_group;tma_bad_speculation_group;tma_issueBM", + "MetricName": "tma_branch_mispredicts", + "MetricThreshold": "tma_branch_mispredicts > 0.1 & tma_bad_speculation > 0.15", + "MetricgroupNoGroup": "TopdownL2", + "PublicDescription": "This metric represents fraction of slots the CPU has wasted due to Branch Misprediction. These slots are either wasted by uops fetched from an incorrectly speculated program path; or stalls when the out-of-order part of the machine needs to recover its state from a speculative path. Sample with: TOPDOWN.BR_MISPREDICT_SLOTS. Related metrics: tma_info_bad_spec_branch_misprediction_cost, tma_info_bottleneck_mispredictions, tma_mispredicts_resteers", + "ScaleUnit": "100%", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to Branch Resteers", + "MetricExpr": "cpu_core@INT_MISC.CLEAR_RESTEER_CYCLES@ / tma_info_thread_clks + tma_unknown_branches", + "MetricGroup": "FetchLat;TopdownL3;tma_L3_group;tma_fetch_latency_group", + "MetricName": "tma_branch_resteers", + "MetricThreshold": "tma_branch_resteers > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15)", + "PublicDescription": "This metric represents fraction of cycles the CPU was stalled due to Branch Resteers. Branch Resteers estimates the Frontend delay in fetching operations from corrected path; following all sorts of miss-predicted branches. For example; branchy code with lots of miss-predictions might get categorized under Branch Resteers. Note the value of this node may overlap with its siblings. Sample with: BR_MISP_RETIRED.ALL_BRANCHES", + "ScaleUnit": "100%", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due staying in C0.1 power-performance optimized state (Faster wakeup time; Smaller power savings).", + "MetricExpr": "cpu_core@CPU_CLK_UNHALTED.C01@ / tma_info_thread_clks", + "MetricGroup": "C0Wait;TopdownL4;tma_L4_group;tma_serializing_operation_group", + "MetricName": "tma_c01_wait", + "MetricThreshold": "tma_c01_wait > 0.05 & (tma_serializing_operation > 0.1 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2))", + "ScaleUnit": "100%", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due staying in C0.2 power-performance optimized state (Slower wakeup time; Larger power savings).", + "MetricExpr": "cpu_core@CPU_CLK_UNHALTED.C02@ / tma_info_thread_clks", + "MetricGroup": "C0Wait;TopdownL4;tma_L4_group;tma_serializing_operation_group", + "MetricName": "tma_c02_wait", + "MetricThreshold": "tma_c02_wait > 0.05 & (tma_serializing_operation > 0.1 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2))", + "ScaleUnit": "100%", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This metric estimates fraction of cycles the CPU retired uops originated from CISC (complex instruction set computer) instruction", + "MetricExpr": "max(0, tma_microcode_sequencer - tma_assists)", + "MetricGroup": "TopdownL4;tma_L4_group;tma_microcode_sequencer_group", + "MetricName": "tma_cisc", + "MetricThreshold": "tma_cisc > 0.1 & (tma_microcode_sequencer > 0.05 & tma_heavy_operations > 0.1)", + "PublicDescription": "This metric estimates fraction of cycles the CPU retired uops originated from CISC (complex instruction set computer) instruction. A CISC instruction has multiple uops that are required to perform the instruction's functionality as in the case of read-modify-write as an example. Since these instructions require multiple uops they may or may not imply sub-optimal use of machine resources. Sample with: FRONTEND_RETIRED.MS_FLOWS", + "ScaleUnit": "100%", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to Branch Resteers as a result of Machine Clears", + "MetricExpr": "(1 - tma_branch_mispredicts / tma_bad_speculation) * cpu_core@INT_MISC.CLEAR_RESTEER_CYCLES@ / tma_info_thread_clks",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 881
Quoted 10 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +10
-0+ "MetricGroup": "BadSpec;MachineClears;TopdownL4;tma_L4_group;tma_branch_resteers_group;tma_issueMC", + "MetricName": "tma_clears_resteers", + "MetricThreshold": "tma_clears_resteers > 0.05 & (tma_branch_resteers > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15))", + "PublicDescription": "This metric represents fraction of cycles the CPU was stalled due to Branch Resteers as a result of Machine Clears. Sample with: INT_MISC.CLEAR_RESTEER_CYCLES. Related metrics: tma_l1_bound, tma_machine_clears, tma_microcode_sequencer, tma_ms_switches", + "ScaleUnit": "100%", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This metric estimates fraction of cycles while the memory subsystem was handling synchronizations due to contested accesses", + "MetricExpr": "(cpu_core@MEM_LOAD_L3_HIT_RETIRED.XSNP_MISS@ * min(cpu_core@MEM_LOAD_L3_HIT_RETIRED.XSNP_MISS@:retire_latency, 24 * tma_info_system_core_frequency) + cpu_core@MEM_LOAD_L3_HIT_RETIRED.XSNP_FWD@ * min(cpu_core@MEM_LOAD_L3_HIT_RETIRED.XSNP_FWD@:retire_latency, 25 * tma_info_system_core_frequency) * ([email protected]_DATA_RD.L3_HIT.SNOOP_HITM@ / ([email protected]_DATA_RD.L3_HIT.SNOOP_HITM@ + [email protected]_DATA_RD.L3_HIT.SNOOP_HIT_WITH_FWD@))) * (1 + cpu_core@MEM_LOAD_RETIRED.FB_HIT@ / cpu_core@MEM_LOAD_RETIRED.L1_MISS@ / 2) / tma_info_thread_clks",
Thanks Weilin! The modifier on an event doesn't usually have the colon when there is a slash. So:
cpu_core@MEM_LOAD_L3_HIT_RETIRED.XSNP_FWD@:retire_latency Should be:
cpu_core@MEM_LOAD_L3_HIT_RETIRED.XSNP_FWD@retire_latency The modifiers also tend to be a single character. The modifier 'R' is unused, so I wonder we can use it here so that we can support these events not just in metrics.
Ian
RE: [RFC PATCH v2 6/6] perf vendor events intel: Add MTL metric json files
Quoted 1,518 lines
-----Original Message-----
From: Ian Rogers <[email protected]>
Sent: Wednesday, February 28, 2024 8:50 AM
To: Wang, Weilin <[email protected]>
Cc: Peter Zijlstra <[email protected]>; Ingo Molnar <[email protected]>; Arnaldo Carvalho de Melo <[email protected]>; Alexander Shishkin <[email protected]>; Jiri Olsa <[email protected]>; Namhyung Kim <[email protected]>; Hunter, Adrian <[email protected]>; Kan Liang <[email protected]>; [email protected]; [email protected]; Taylor, Perry <[email protected]>; Alt, Samantha <[email protected]>; Biggers, Caleb <[email protected]>
Subject: Re: [RFC PATCH v2 6/6] perf vendor events intel: Add MTL metric json filesQuoted 4 lines · On Wed, Feb 28, 2024 at 8:12 AM <[email protected]> wrote:
From: Weilin Wang <[email protected]>
Add MTL metric json file at TMA4.7 [1]. Some of the metrics' formulas use
TPEBS
Quoted 3 lines
retire_latencyin MTL.Quoted 7 lines
Signed-off-by Weilin Wang <[email protected]>--- .../arch/x86/meteorlake/metricgroups.json | 127 + .../arch/x86/meteorlake/mtl-metrics.json | 2531 +++++++++++++++++ 2 files changed, 2658 insertions(+) create mode 100644 tools/perf/pmu-
events/arch/x86/meteorlake/metricgroups.jsonQuoted 1 line
create mode 100644 tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Review
Quoted 2 lines
(quoted diff) +0
-0
b/tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.jsontools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 2
Quoted 7 lines
new file mode 100644
index 000000000000..7a03835f262ctools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +2
-0@@ -0,0 +1,127 @@ +{ + "Backend": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 3
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Bad": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 4
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "BadSpec": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 5
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "BigFootprint": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 6
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "BrMispredicts": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 7
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Branches": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 8
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "C0Wait": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 9
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "CacheHits": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 10
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "CodeGen": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 11
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Compute": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 12
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Cor": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 13
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "DSB": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 14
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "DSBmiss": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 15
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "DataSharing": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 16
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Fed": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 17
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "FetchBW": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 18
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "FetchLat": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 19
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Flops": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 20
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "FpScalar": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 21
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "FpVector": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 22
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Frontend": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 23
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "HPC": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 24
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "IcMiss": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 25
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "InsType": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 26
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "IntVector": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 27
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "L2Evicts": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 28
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "LSD": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 29
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "MachineClears": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 30
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Machine_Clears": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 31
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Mem": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 32
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "MemOffcore": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 33
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "MemoryBW": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 34
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "MemoryBound": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 35
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "MemoryLat": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 36
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "MemoryTLB": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 37
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Memory_BW": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 38
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Memory_Lat": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 39
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "MicroSeq": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 40
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "OS": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 41
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Offcore": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 42
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "PGO": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 43
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Pipeline": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 44
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "PortsUtil": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 45
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Power": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 46
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Prefetches": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 47
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Ret": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 48
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Retire": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 49
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "SMT": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 50
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Server": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 51
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Snoop": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 52
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "SoC": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 53
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Summary": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 54
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "TmaL1": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 55
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "TmaL2": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 56
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "TmaL3mem": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json
Quoted 13 lines
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +13
-0+ "TopdownL1": "Metrics for top-down breakdown at level 1", + "TopdownL2": "Metrics for top-down breakdown at level 2", + "TopdownL3": "Metrics for top-down breakdown at level 3", + "TopdownL4": "Metrics for top-down breakdown at level 4", + "TopdownL5": "Metrics for top-down breakdown at level 5", + "TopdownL6": "Metrics for top-down breakdown at level 6", + "tma_L1_group": "Metrics for top-down breakdown at level 1", + "tma_L2_group": "Metrics for top-down breakdown at level 2", + "tma_L3_group": "Metrics for top-down breakdown at level 3", + "tma_L4_group": "Metrics for top-down breakdown at level 4", + "tma_L5_group": "Metrics for top-down breakdown at level 5", + "tma_L6_group": "Metrics for top-down breakdown at level 6", + "tma_alu_op_utilization_group": "Metrics contributing to
tma_alu_op_utilizationcategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 71
Quoted 2 lines
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +2
-0+ "tma_assists_group": "Metrics contributing to tma_assists category", + "tma_backend_bound_aux_group": "Metrics contributing to
tma_backend_bound_auxcategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 72
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_backend_bound_group": "Metrics contributing to
tma_backend_boundcategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 73
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_bad_speculation_group": "Metrics contributing to
tma_bad_speculationcategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 75
Quoted 2 lines
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +2
-0+ "tma_base_group": "Metrics contributing to tma_base category", + "tma_branch_mispredicts_group": "Metrics contributing to
tma_branch_mispredictscategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 76
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_branch_resteers_group": "Metrics contributing to
tma_branch_resteerscategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 77
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_core_bound_group": "Metrics contributing to tma_core_boundcategory",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 78
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_dram_bound_group": "Metrics contributing to tma_dram_boundcategory",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 79
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_dtlb_load_group": "Metrics contributing to tma_dtlb_loadcategory",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 80
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_dtlb_store_group": "Metrics contributing to tma_dtlb_storecategory",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 81
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_fetch_bandwidth_group": "Metrics contributing to
tma_fetch_bandwidthcategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 82
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_fetch_latency_group": "Metrics contributing to tma_fetch_latencycategory",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 84
Quoted 2 lines
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +2
-0+ "tma_fp_arith_group": "Metrics contributing to tma_fp_arith category", + "tma_fp_vector_group": "Metrics contributing to tma_fp_vectorcategory",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 85
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_frontend_bound_group": "Metrics contributing to
tma_frontend_boundcategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 86
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_heavy_operations_group": "Metrics contributing to
tma_heavy_operationscategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 87
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_int_operations_group": "Metrics contributing to
tma_int_operationscategory",Quoted 10 lines
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +10
-0+ "tma_issue2P": "Metrics related by the issue $issue2P", + "tma_issueBM": "Metrics related by the issue $issueBM", + "tma_issueBW": "Metrics related by the issue $issueBW", + "tma_issueComp": "Metrics related by the issue $issueComp", + "tma_issueD0": "Metrics related by the issue $issueD0", + "tma_issueFB": "Metrics related by the issue $issueFB", + "tma_issueFL": "Metrics related by the issue $issueFL", + "tma_issueL1": "Metrics related by the issue $issueL1", + "tma_issueLat": "Metrics related by the issue $issueLat", + "tma_issueMC": "Metrics related by the issue $issueMC",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json
Quoted 10 lines
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +10
-0+ "tma_issueMS": "Metrics related by the issue $issueMS", + "tma_issueMV": "Metrics related by the issue $issueMV", + "tma_issueRFO": "Metrics related by the issue $issueRFO", + "tma_issueSL": "Metrics related by the issue $issueSL", + "tma_issueSO": "Metrics related by the issue $issueSO", + "tma_issueSmSt": "Metrics related by the issue $issueSmSt", + "tma_issueSpSt": "Metrics related by the issue $issueSpSt", + "tma_issueSyncxn": "Metrics related by the issue $issueSyncxn", + "tma_issueTLB": "Metrics related by the issue $issueTLB", + "tma_l1_bound_group": "Metrics contributing to tma_l1_boundcategory",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 108
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_l3_bound_group": "Metrics contributing to tma_l3_boundcategory",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 109
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_light_operations_group": "Metrics contributing to
tma_light_operationscategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 110
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_load_op_utilization_group": "Metrics contributing to
tma_load_op_utilizationcategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 111
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_machine_clears_group": "Metrics contributing to
tma_machine_clearscategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 112
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_mem_latency_group": "Metrics contributing to tma_mem_latencycategory",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 113
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_mem_scheduler_group": "Metrics contributing to
tma_mem_schedulercategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 114
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_memory_bound_group": "Metrics contributing to
tma_memory_boundcategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 115
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_microcode_sequencer_group": "Metrics contributing to
tma_microcode_sequencercategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json
Quoted 3 lines
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +3
-0+ "tma_mite_group": "Metrics contributing to tma_mite category", + "tma_nuke_group": "Metrics contributing to tma_nuke category", + "tma_other_light_ops_group": "Metrics contributing to
tma_other_light_opscategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 119
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_ports_utilization_group": "Metrics contributing to
tma_ports_utilizationcategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 120
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_ports_utilized_0_group": "Metrics contributing to
tma_ports_utilized_0category",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 121
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_ports_utilized_3m_group": "Metrics contributing to
tma_ports_utilized_3mcategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 122
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_resource_bound_group": "Metrics contributing to
tma_resource_boundcategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 124
Quoted 2 lines
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +2
-0+ "tma_retiring_group": "Metrics contributing to tma_retiring category", + "tma_serializing_operation_group": "Metrics contributing to
tma_serializing_operationcategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 125
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_store_bound_group": "Metrics contributing to tma_store_boundcategory",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 126
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_store_op_utilization_group": "Metrics contributing to
tma_store_op_utilizationcategory"Review
Quoted 2 lines
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+}(quoted diff) +0
-0
b/tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.jsonQuoted 68 lines
new file mode 100644
index 000000000000..12df19538fd6tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +63
-0@@ -0,0 +1,2531 @@ +[ + { + "BriefDescription": "C10 residency percent per package", + "MetricExpr": "cstate_pkg@c10\\-residency@ / TSC", + "MetricGroup": "Power", + "MetricName": "C10_Pkg_Residency", + "ScaleUnit": "100%" + }, + { + "BriefDescription": "C1 residency percent per core", + "MetricExpr": "cstate_core@c1\\-residency@ / TSC", + "MetricGroup": "Power", + "MetricName": "C1_Core_Residency", + "ScaleUnit": "100%" + }, + { + "BriefDescription": "C2 residency percent per package", + "MetricExpr": "cstate_pkg@c2\\-residency@ / TSC", + "MetricGroup": "Power", + "MetricName": "C2_Pkg_Residency", + "ScaleUnit": "100%" + }, + { + "BriefDescription": "C3 residency percent per package", + "MetricExpr": "cstate_pkg@c3\\-residency@ / TSC", + "MetricGroup": "Power", + "MetricName": "C3_Pkg_Residency", + "ScaleUnit": "100%" + }, + { + "BriefDescription": "C6 residency percent per core", + "MetricExpr": "cstate_core@c6\\-residency@ / TSC", + "MetricGroup": "Power", + "MetricName": "C6_Core_Residency", + "ScaleUnit": "100%" + }, + { + "BriefDescription": "C6 residency percent per package", + "MetricExpr": "cstate_pkg@c6\\-residency@ / TSC", + "MetricGroup": "Power", + "MetricName": "C6_Pkg_Residency", + "ScaleUnit": "100%" + }, + { + "BriefDescription": "C7 residency percent per core", + "MetricExpr": "cstate_core@c7\\-residency@ / TSC", + "MetricGroup": "Power", + "MetricName": "C7_Core_Residency", + "ScaleUnit": "100%" + }, + { + "BriefDescription": "C7 residency percent per package", + "MetricExpr": "cstate_pkg@c7\\-residency@ / TSC", + "MetricGroup": "Power", + "MetricName": "C7_Pkg_Residency", + "ScaleUnit": "100%" + }, + { + "BriefDescription": "C8 residency percent per package", + "MetricExpr": "cstate_pkg@c8\\-residency@ / TSC", + "MetricGroup": "Power", + "MetricName": "C8_Pkg_Residency", + "ScaleUnit": "100%"tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 73
Quoted 10 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +10
-0+ }, + { + "BriefDescription": "C9 residency percent per package", + "MetricExpr": "cstate_pkg@c9\\-residency@ / TSC", + "MetricGroup": "Power", + "MetricName": "C9_Pkg_Residency", + "ScaleUnit": "100%" + }, + { + "BriefDescription": "Percentage of cycles spent in System ManagementInterrupts.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 74
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "((msr@aperf@ - cycles) / msr@aperf@ if msr@smi@ >0 else 0)",
Quoted 4 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +4
-0+ "MetricGroup": "smi", + "MetricName": "smi_cycles", + "MetricThreshold": "smi_cycles > 0.1", + "ScaleUnit": "100%"tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 10 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +10
-0+ }, + { + "BriefDescription": "Number of SMI interrupts.", + "MetricExpr": "msr@smi@", + "MetricGroup": "smi", + "MetricName": "smi_num", + "ScaleUnit": "1SMI#" + }, + { + "BriefDescription": "Counts the number of issue slots that were notconsumed by the backend due to certain allocation restrictions.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 89
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr":"cpu_atom@TOPDOWN_BE_BOUND.ALLOC_RESTRICTIONS@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 90
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_resource_bound_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_alloc_restriction", + "MetricThreshold": "tma_alloc_restriction > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the total number of issue slots that werenot consumed by the backend due to backend stalls",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 98
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@TOPDOWN_BE_BOUND.ALL@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "MetricGroup": "TopdownL1;tma_L1_group", + "MetricName": "tma_backend_bound", + "MetricThreshold": "tma_backend_bound > 0.1", + "MetricgroupNoGroup": "TopdownL1", + "PublicDescription": "Counts the total number of issue slots that werenot consumed by the backend due to backend stalls. Note that uops must be available for consumption in order for this event to count. If a uop is not
available (IQ is empty), this event will not count. The rest of these subevents
count backend stalls, in cycles, due to an outstanding request which is
memory bound vs core bound. The subevents are not slot based events and
therefore can not be precisely added or subtracted from theBackend_Bound_Auxsubevents which are slot based.",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the total number of issue slots that werenot consumed by the backend due to backend stalls",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 6 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +6
-0+ "MetricExpr": "tma_backend_bound", + "MetricGroup": "TopdownL1;tma_L1_group", + "MetricName": "tma_backend_bound_aux", + "MetricThreshold": "tma_backend_bound_aux > 0.2", + "MetricgroupNoGroup": "TopdownL1", + "PublicDescription": "Counts the total number of issue slots that werenot consumed by the backend due to backend stalls. Note that UOPS must be available for consumption in order for this event to count. If a uop is not available (IQ is empty), this event will not count. All of these subevents count
backend stalls, in slots, due to a resource limitation. These are not cycle based
events and therefore can not be precisely added or subtracted from theBackend_Boundsubevents which are cycle based. These subevents are supplementary toBackend_Boundand can be used to analyze results from a resource perspective at allocation.",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the total number of issue slots that werenot consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 120
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@TOPDOWN_BAD_SPECULATION.ALL@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "MetricGroup": "TopdownL1;tma_L1_group", + "MetricName": "tma_bad_speculation", + "MetricThreshold": "tma_bad_speculation > 0.15", + "MetricgroupNoGroup": "TopdownL1", + "PublicDescription": "Counts the total number of issue slots that werenot consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear. Only issue slots wasted due to fast nukes such as memory ordering nukes are counted. Other nukes are not accounted for. Counts all issue slots blocked during this recovery window including relevant microcode flows and while uops are not yet available in the instruction queue (IQ). Also includes the issue slots that were consumed by the backend but were thrown away because they were younger than the mispredict or machine clear.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of uops that are not from themicrosequencer.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 131
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "(cpu_atom@TOPDOWN_RETIRING.ALL@ -cpu_atom@UOPS_RETIRED.MS@) /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 9 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +9
-0+ "MetricGroup": "TopdownL2;tma_L2_group;tma_retiring_group", + "MetricName": "tma_base", + "MetricThreshold": "tma_base > 0.6", + "MetricgroupNoGroup": "TopdownL2", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notdelivered by the frontend due to BACLEARS, which occurs when the Branch Target Buffer (BTB) prediction or lack thereof, was corrected by a later branch predictor in the frontend",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 141
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.BRANCH_DETECT@/
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 142
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_fetch_latency_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 3 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +3
-0+ "MetricName": "tma_branch_detect", + "MetricThreshold": "tma_branch_detect > 0.05", + "PublicDescription": "Counts the number of issue slots that were notdelivered by the frontend due to BACLEARS, which occurs when the Branch Target Buffer (BTB) prediction or lack thereof, was corrected by a later branch predictor in the frontend. Includes BACLEARS due to all branch types including conditional and unconditional jumps, returns, and indirect branches.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notconsumed by the backend due to branch mispredicts.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 151
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr":"cpu_atom@TOPDOWN_BAD_SPECULATION.MISPREDICT@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 152
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL2;tma_L2_group;tma_bad_speculation_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 8 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +8
-0+ "MetricName": "tma_branch_mispredicts", + "MetricThreshold": "tma_branch_mispredicts > 0.05", + "MetricgroupNoGroup": "TopdownL2", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notdelivered by the frontend due to BTCLEARS, which occurs when the Branch Target Buffer (BTB) predicts a taken branch.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 161
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr":"cpu_atom@TOPDOWN_FE_BOUND.BRANCH_RESTEER@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 162
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_fetch_latency_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_branch_resteer", + "MetricThreshold": "tma_branch_resteer > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notdelivered by the frontend due to the microcode sequencer (MS).",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 170
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.CISC@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 171
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_fetch_bandwidth_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_cisc", + "MetricThreshold": "tma_cisc > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles due to backendbound stalls that are core execution bound and not attributed to outstanding demand load or store stalls.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 180
Quoted 2 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +2
-0+ "MetricExpr": "max(0, tma_backend_bound - tma_memory_bound)", + "MetricGroup":"TopdownL2;tma_L2_group;tma_backend_bound_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 8 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +8
-0+ "MetricName": "tma_core_bound", + "MetricThreshold": "tma_core_bound > 0.1", + "MetricgroupNoGroup": "TopdownL2", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notdelivered by the frontend due to decode stalls.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 189
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.DECODE@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 190
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_fetch_bandwidth_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_decode", + "MetricThreshold": "tma_decode > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of machine clears relative tothe number of nuke slots due to memory disambiguation.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 198
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "tma_nuke *(cpu_atom@MACHINE_CLEARS.DISAMBIGUATION@ /
cpu_atom@MACHINE_CLEARS.SLOW@)",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 8 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +8
-0+ "MetricGroup": "TopdownL4;tma_L4_group;tma_nuke_group", + "MetricName": "tma_disambiguation", + "MetricThreshold": "tma_disambiguation > 0.02", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles the core is stalled dueto a demand load miss which hit in DRAM or MMIO (Non-DRAM).",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 207
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@MEM_BOUND_STALLS_LOAD.LLC_MISS@ /
tma_info_core_clks-max((cpu_atom@MEM_BOUND_STALLS_LOAD.ALL@ - cpu_atom@LD_HEAD.L1_MISS_AT_RET@) / tma_info_core_clks, 0)* cpu_atom@MEM_BOUND_STALLS_LOAD.LLC_MISS@ / cpu_atom@MEM_BOUND_STALLS_LOAD.ALL@",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 208
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_memory_bound_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_dram_bound", + "MetricThreshold": "tma_dram_bound > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notconsumed by the backend due to a machine clear classified as a fast nuke due to memory ordering, memory disambiguation and memory renaming.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 216
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr":"cpu_atom@TOPDOWN_BAD_SPECULATION.FASTNUKE@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 217
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_machine_clears_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_fast_nuke", + "MetricThreshold": "tma_fast_nuke > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notdelivered by the frontend due to frontend bandwidth restrictions due to decode, predecode, cisc, and other limitations.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 225
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr":"cpu_atom@TOPDOWN_FE_BOUND.FRONTEND_BANDWIDTH@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 226
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL2;tma_L2_group;tma_frontend_bound_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 8 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +8
-0+ "MetricName": "tma_fetch_bandwidth", + "MetricThreshold": "tma_fetch_bandwidth > 0.1", + "MetricgroupNoGroup": "TopdownL2", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notdelivered by the frontend due to frontend bandwidth restrictions due to decode, predecode, cisc, and other limitations.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 235
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr":"cpu_atom@TOPDOWN_FE_BOUND.FRONTEND_LATENCY@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 236
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL2;tma_L2_group;tma_frontend_bound_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 8 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +8
-0+ "MetricName": "tma_fetch_latency", + "MetricThreshold": "tma_fetch_latency > 0.15", + "MetricgroupNoGroup": "TopdownL2", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of machine clears relative tothe number of nuke slots due to FP assists.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 245
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "tma_nuke *(cpu_atom@MACHINE_CLEARS.FP_ASSIST@ /
cpu_atom@MACHINE_CLEARS.SLOW@)",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 8 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +8
-0+ "MetricGroup": "TopdownL4;tma_L4_group;tma_nuke_group", + "MetricName": "tma_fp_assist", + "MetricThreshold": "tma_fp_assist > 0.02", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of floating point divideoperations per uop.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 254
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@UOPS_RETIRED.FPDIV@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 8 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +8
-0+ "MetricGroup": "TopdownL3;tma_L3_group;tma_base_group", + "MetricName": "tma_fpdiv_uops", + "MetricThreshold": "tma_fpdiv_uops > 0.2", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notconsumed by the backend due to frontend stalls.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 263
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.ALL@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 9 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +9
-0+ "MetricGroup": "TopdownL1;tma_L1_group", + "MetricName": "tma_frontend_bound", + "MetricThreshold": "tma_frontend_bound > 0.2", + "MetricgroupNoGroup": "TopdownL1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notdelivered by the frontend due to instruction cache misses.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 273
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.ICACHE@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 274
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_fetch_latency_group",
Quoted 16 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +16
-0+ "MetricName": "tma_icache_misses", + "MetricThreshold": "tma_icache_misses > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "", + "MetricExpr": "cpu_atom@CPU_CLK_UNHALTED.CORE@", + "MetricName": "tma_info_core_clks", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "", + "MetricExpr": "cpu_atom@CPU_CLK_UNHALTED.CORE_P@", + "MetricName": "tma_info_core_clks_p", + "Unit": "cpu_atom"tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 10 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +10
-0+ }, + { + "BriefDescription": "Cycles Per Instruction", + "MetricExpr": "tma_info_core_clks / INST_RETIRED.ANY", + "MetricName": "tma_info_core_cpi", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Instructions Per Cycle", + "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ /
tma_info_core_clks",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 12 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +12
-0+ "MetricName": "tma_info_core_ipc", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "", + "MetricExpr": "6 * tma_info_core_clks", + "MetricName": "tma_info_core_slots", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Uops Per Instruction", + "MetricExpr": "cpu_atom@UOPS_RETIRED.ALL@ /INST_RETIRED.ANY",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 6 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +6
-0+ "MetricName": "tma_info_core_upi", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Percent of instruction miss cost that hit in DRAM", + "MetricExpr": "100 *cpu_atom@MEM_BOUND_STALLS_IFETCH.LLC_MISS@ /
cpu_atom@MEM_BOUND_STALLS_IFETCH.ALL@",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 6 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +6
-0+ "MetricName": "tma_info_frontend_inst_miss_cost_dramhit_percent", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Percent of instruction miss cost that hit in the L2", + "MetricExpr": "100 *cpu_atom@MEM_BOUND_STALLS_IFETCH.L2_HIT@ /
cpu_atom@MEM_BOUND_STALLS_IFETCH.ALL@",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 6 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +6
-0+ "MetricName": "tma_info_frontend_inst_miss_cost_l2hit_percent", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Percent of instruction miss cost that hit in the L3", + "MetricExpr": "100 *cpu_atom@MEM_BOUND_STALLS_IFETCH.LLC_HIT@ /
cpu_atom@MEM_BOUND_STALLS_IFETCH.ALL@",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 6 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +6
-0+ "MetricName": "tma_info_frontend_inst_miss_cost_l3hit_percent", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Ratio of all branches which mispredict", + "MetricExpr": "cpu_atom@BR_MISP_RETIRED.ALL_BRANCHES@ /BR_INST_RETIRED.ALL_BRANCHES",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "MetricName": "tma_info_inst_mix_branch_mispredict_ratio", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Ratio between Mispredicted branches andunknown branches",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 342
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@BR_MISP_RETIRED.ALL_BRANCHES@ /BACLEARS.ANY",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 343
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricName":"
tma_info_inst_mix_branch_mispredict_to_unknown_branch_ratio",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "Unit": "cpu_atom" + }, + { + "BriefDescription": "Percentage of all uops which are FPDiv uops", + "MetricExpr": "100 * cpu_atom@UOPS_RETIRED.FPDIV@ /UOPS_RETIRED.ALL",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 6 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +6
-0+ "MetricName": "tma_info_inst_mix_fpdiv_uop_ratio", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Percentage of all uops which are IDiv uops", + "MetricExpr": "100 * cpu_atom@UOPS_RETIRED.IDIV@ /UOPS_RETIRED.ALL",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "MetricName": "tma_info_inst_mix_idiv_uop_ratio", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Instructions per Branch (lower number meanshigher occurrence rate)",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 360
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ /BR_INST_RETIRED.ALL_BRANCHES",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "MetricName": "tma_info_inst_mix_ipbranch", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Instruction per (near) call (lower number meanshigher occurrence rate)",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 366
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ /BR_INST_RETIRED.NEAR_CALL",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 6 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +6
-0+ "MetricName": "tma_info_inst_mix_ipcall", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Instructions per Far Branch", + "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ /(cpu_atom@BR_INST_RETIRED.FAR_BRANCH@ / 2)",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 6 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +6
-0+ "MetricName": "tma_info_inst_mix_ipfarbranch", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Instructions per Load", + "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ /MEM_UOPS_RETIRED.ALL_LOADS",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "MetricName": "tma_info_inst_mix_ipload", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Instructions per retired conditional BranchMisprediction where the branch was not taken",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 384
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ /(cpu_atom@BR_MISP_RETIRED.COND@ -
cpu_atom@BR_MISP_RETIRED.COND_TAKEN@)",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "MetricName": "tma_info_inst_mix_ipmisp_cond_ntaken", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Instructions per retired conditional BranchMisprediction where the branch was taken",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 390
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ /BR_MISP_RETIRED.COND_TAKEN",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "MetricName": "tma_info_inst_mix_ipmisp_cond_taken", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Instructions per retired indirect call or jump BranchMisprediction",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 396
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ /BR_MISP_RETIRED.INDIRECT",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "MetricName": "tma_info_inst_mix_ipmisp_indirect", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Instructions per retired return BranchMisprediction",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 402
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ /BR_MISP_RETIRED.RETURN",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 6 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +6
-0+ "MetricName": "tma_info_inst_mix_ipmisp_ret", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Instructions per retired Branch Misprediction", + "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ /BR_MISP_RETIRED.ALL_BRANCHES",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 6 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +6
-0+ "MetricName": "tma_info_inst_mix_ipmispredict", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Instructions per Store", + "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ /MEM_UOPS_RETIRED.ALL_STORES",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 6 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +6
-0+ "MetricName": "tma_info_inst_mix_ipstore", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Percentage of all uops which are ucode ops", + "MetricExpr": "100 * cpu_atom@UOPS_RETIRED.MS@ /UOPS_RETIRED.ALL",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 6 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +6
-0+ "MetricName": "tma_info_inst_mix_microcode_uop_ratio", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Percentage of all uops which are x87 uops", + "MetricExpr": "100 * cpu_atom@UOPS_RETIRED.X87@ /UOPS_RETIRED.ALL",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "MetricName": "tma_info_inst_mix_x87_uop_ratio", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Percentage of total non-speculative loads with aaddress aliasing block",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 432
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "100 * cpu_atom@LD_BLOCKS.ADDRESS_ALIAS@ /MEM_UOPS_RETIRED.ALL_LOADS",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "MetricName": "tma_info_l1_bound_address_alias_blocks", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Percentage of total non-speculative loads that aresplits",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 438
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "100 *cpu_atom@MEM_UOPS_RETIRED.SPLIT_LOADS@ /
MEM_UOPS_RETIRED.ALL_LOADS",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "MetricName": "tma_info_l1_bound_load_splits", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Percentage of total non-speculative loads with astore forward or unknown store address block",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 444
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "100 * cpu_atom@LD_BLOCKS.DATA_UNKNOWN@ /MEM_UOPS_RETIRED.ALL_LOADS",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 6 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +6
-0+ "MetricName": "tma_info_l1_bound_store_fwd_blocks", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Cycle cost per L2 hit", + "MetricExpr": "cpu_atom@MEM_BOUND_STALLS_LOAD.L2_HIT@ /MEM_LOAD_UOPS_RETIRED.L2_HIT",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 6 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +6
-0+ "MetricName": "tma_info_memory_cycles_per_demand_load_l2_hit", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Cycle cost per LLC hit", + "MetricExpr": "cpu_atom@MEM_BOUND_STALLS_LOAD.LLC_HIT@ /MEM_LOAD_UOPS_RETIRED.L3_HIT",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 6 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +6
-0+ "MetricName": "tma_info_memory_cycles_per_demand_load_l3_hit", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "load ops retired per 1000 instruction", + "MetricExpr": "1e3 * cpu_atom@MEM_UOPS_RETIRED.ALL_LOADS@ /INST_RETIRED.ANY",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 12 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +12
-0+ "MetricName": "tma_info_memory_memloadpki", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Average CPU Utilization", + "MetricExpr": "cpu_atom@CPU_CLK_UNHALTED.REF_TSC@ / TSC", + "MetricName": "tma_info_system_cpu_utilization", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Fraction of cycles spent in Kernel mode", + "MetricExpr": "cpu_atom@CPU_CLK_UNHALTED.CORE@k /CPU_CLK_UNHALTED.CORE",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 6 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +6
-0+ "MetricGroup": "Summary", + "MetricName": "tma_info_system_kernel_utilization", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Average Frequency Utilization relative nominalfrequency",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricExpr": "tma_info_core_clks / CPU_CLK_UNHALTED.REF_TSC", + "MetricGroup": "Power", + "MetricName": "tma_info_system_turbo_utilization", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notdelivered by the frontend due to Instruction Table Lookaside Buffer (ITLB) misses.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 488
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.ITLB_MISS@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 489
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_fetch_latency_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_itlb_misses", + "MetricThreshold": "tma_itlb_misses > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles that the oldest load ofthe load buffer is stalled at retirement due to a load block.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 497
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@LD_HEAD.L1_BOUND_AT_RET@ /
tma_info_core_clks",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 498
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_memory_bound_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_l1_bound", + "MetricThreshold": "tma_l1_bound > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles a core is stalled due toa demand load which hit in the L2 Cache.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 506
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@MEM_BOUND_STALLS_LOAD.L2_HIT@ /
tma_info_core_clks-max((cpu_atom@MEM_BOUND_STALLS_LOAD.ALL@ - cpu_atom@LD_HEAD.L1_MISS_AT_RET@) / tma_info_core_clks, 0)* cpu_atom@MEM_BOUND_STALLS_LOAD.L2_HIT@ / cpu_atom@MEM_BOUND_STALLS_LOAD.ALL@",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 507
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_memory_bound_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_l2_bound", + "MetricThreshold": "tma_l2_bound > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles a core is stalled due toa demand load which hit in the Last Level Cache (LLC) or other core with HITE/F/M.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 515
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@MEM_BOUND_STALLS_LOAD.LLC_HIT@ /
tma_info_core_clks-max((cpu_atom@MEM_BOUND_STALLS_LOAD.ALL@ - cpu_atom@LD_HEAD.L1_MISS_AT_RET@) / tma_info_core_clks, 0)* cpu_atom@MEM_BOUND_STALLS_LOAD.LLC_HIT@ / cpu_atom@MEM_BOUND_STALLS_LOAD.ALL@",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 516
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_memory_bound_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_l3_bound", + "MetricThreshold": "tma_l3_bound > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles, relative to thenumber of
mem_schedulerslots, in which uops are blocked due to load buffer full",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 524
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "tma_mem_scheduler *cpu_atom@MEM_SCHEDULER_BLOCK.LD_BUF@ /
MEM_SCHEDULER_BLOCK.ALL",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 525
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL4;tma_L4_group;tma_mem_scheduler_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_ld_buffer", + "MetricThreshold": "tma_ld_buffer > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the total number of issue slots that werenot consumed by the backend because allocation is stalled due to a machine clear (nuke) of any kind including memory ordering and memory disambiguation.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 533
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr":"cpu_atom@TOPDOWN_BAD_SPECULATION.MACHINE_CLEARS@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 534
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL2;tma_L2_group;tma_bad_speculation_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 8 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +8
-0+ "MetricName": "tma_machine_clears", + "MetricThreshold": "tma_machine_clears > 0.05", + "MetricgroupNoGroup": "TopdownL2", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notconsumed by the backend due to memory reservation stalls in which a scheduler is not able to accept uops.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 543
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr":"cpu_atom@TOPDOWN_BE_BOUND.MEM_SCHEDULER@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 544
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_resource_bound_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_mem_scheduler", + "MetricThreshold": "tma_mem_scheduler > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles the core is stalled dueto stores or loads.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 552
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "min(tma_backend_bound,cpu_atom@LD_HEAD.ANY_AT_RET@ /
tma_info_core_clks+tma_store_bound)",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 553
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL2;tma_L2_group;tma_backend_bound_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 8 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +8
-0+ "MetricName": "tma_memory_bound", + "MetricThreshold": "tma_memory_bound > 0.2", + "MetricgroupNoGroup": "TopdownL2", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of machine clears relative tothe number of nuke slots due to memory ordering.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 562
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "tma_nuke *(cpu_atom@MACHINE_CLEARS.MEMORY_ORDERING@ /
cpu_atom@MACHINE_CLEARS.SLOW@)",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 8 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +8
-0+ "MetricGroup": "TopdownL4;tma_L4_group;tma_nuke_group", + "MetricName": "tma_memory_ordering", + "MetricThreshold": "tma_memory_ordering > 0.02", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of uops that are from thecomplex flows issued by the micro-sequencer (MS)",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 571
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@UOPS_RETIRED.MS@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "MetricGroup": "TopdownL2;tma_L2_group;tma_retiring_group", + "MetricName": "tma_ms_uops", + "MetricThreshold": "tma_ms_uops > 0.05", + "MetricgroupNoGroup": "TopdownL2", + "PublicDescription": "Counts the number of uops that are from thecomplex flows issued by the micro-sequencer (MS). This includes uops from flows due to complex instructions, faults, assists, and inserted flows.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notconsumed by the backend due to IEC or FPC RAT stalls, which can be due to FIQ or IEC reservation stalls in which the integer, floating point or SIMD scheduler is not able to accept uops.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 582
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr":"cpu_atom@TOPDOWN_BE_BOUND.NON_MEM_SCHEDULER@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 583
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_resource_bound_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_non_mem_scheduler", + "MetricThreshold": "tma_non_mem_scheduler > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notconsumed by the backend due to a machine clear (slow nuke).",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 591
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@TOPDOWN_BAD_SPECULATION.NUKE@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 592
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_machine_clears_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_nuke", + "MetricThreshold": "tma_nuke > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notdelivered by the frontend due to other common frontend stalls not categorized.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 600
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.OTHER@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 601
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_fetch_bandwidth_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_other_fb", + "MetricThreshold": "tma_other_fb > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles that the oldest load ofthe load buffer is stalled at retirement due to a number of other load blocks.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 609
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@LD_HEAD.OTHER_AT_RET@ /
tma_info_core_clks",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 8 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +8
-0+ "MetricGroup": "TopdownL4;tma_L4_group;tma_l1_bound_group", + "MetricName": "tma_other_l1", + "MetricThreshold": "tma_other_l1 > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles the core is stalled dueto a demand load miss which hits in the L2, LLC, DRAM or MMIO (Non-DRAM) but could not be correctly attributed or cycles in which the load miss is waiting on a request buffer.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 618
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "max(0, tma_memory_bound - (tma_store_bound +
tma_l1_bound+tma_l2_bound+tma_l3_bound+tma_dram_bound))",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 619
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_memory_bound_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_other_load_store", + "MetricThreshold": "tma_other_load_store > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of uops retired excluding msand fp div uops.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 627
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "(cpu_atom@TOPDOWN_RETIRING.ALL@ -cpu_atom@UOPS_RETIRED.MS@ - cpu_atom@UOPS_RETIRED.FPDIV@) /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 8 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +8
-0+ "MetricGroup": "TopdownL3;tma_L3_group;tma_base_group", + "MetricName": "tma_other_ret", + "MetricThreshold": "tma_other_ret > 0.3", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of machine clears relative tothe number of nuke slots due to page faults.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 636
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "tma_nuke *(cpu_atom@MACHINE_CLEARS.PAGE_FAULT@ /
cpu_atom@MACHINE_CLEARS.SLOW@)",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 8 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +8
-0+ "MetricGroup": "TopdownL4;tma_L4_group;tma_nuke_group", + "MetricName": "tma_page_fault", + "MetricThreshold": "tma_page_fault > 0.02", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notdelivered by the frontend due to wrong predecodes.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 645
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.PREDECODE@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 646
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_fetch_bandwidth_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_predecode", + "MetricThreshold": "tma_predecode > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notconsumed by the backend due to the physical register file unable to accept an entry (marble stalls).",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 654
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@TOPDOWN_BE_BOUND.REGISTER@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 655
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_resource_bound_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_register", + "MetricThreshold": "tma_register > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notconsumed by the backend due to the reorder buffer being full (ROB stalls).",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 663
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr":"cpu_atom@TOPDOWN_BE_BOUND.REORDER_BUFFER@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 664
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_resource_bound_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_reorder_buffer", + "MetricThreshold": "tma_reorder_buffer > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the total number of issue slots that werenot consumed by the backend due to backend stalls",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 673
Quoted 2 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +2
-0+ "MetricExpr": "tma_backend_bound", + "MetricGroup":"TopdownL2;tma_L2_group;tma_backend_bound_aux_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 4 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +4
-0+ "MetricName": "tma_resource_bound", + "MetricThreshold": "tma_resource_bound > 0.2", + "MetricgroupNoGroup": "TopdownL2", + "PublicDescription": "Counts the total number of issue slots that werenot consumed by the backend due to backend stalls. Note that uops must be available for consumption in order for this event to count. If a uop is not available (IQ is empty), this event will not count.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that result inretirement slots.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 683
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@TOPDOWN_RETIRING.ALL@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 9 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +9
-0+ "MetricGroup": "TopdownL1;tma_L1_group", + "MetricName": "tma_retiring", + "MetricThreshold": "tma_retiring > 0.75", + "MetricgroupNoGroup": "TopdownL1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles, relative to thenumber of
mem_schedulerslots, in which uops are blocked due to RSV full relative",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 693
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "tma_mem_scheduler *cpu_atom@MEM_SCHEDULER_BLOCK.RSV@ /
MEM_SCHEDULER_BLOCK.ALL",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 694
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL4;tma_L4_group;tma_mem_scheduler_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_rsv", + "MetricThreshold": "tma_rsv > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notconsumed by the backend due to scoreboards from the instruction queue (IQ), jump execution unit (JEU), or microcode sequencer (MS).",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 702
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@TOPDOWN_BE_BOUND.SERIALIZATION@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 703
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_resource_bound_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_serialization", + "MetricThreshold": "tma_serialization > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of machine clears relative tothe number of nuke slots due to SMC.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 711
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "tma_nuke * (cpu_atom@MACHINE_CLEARS.SMC@ /cpu_atom@MACHINE_CLEARS.SLOW@)",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 8 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +8
-0+ "MetricGroup": "TopdownL4;tma_L4_group;tma_nuke_group", + "MetricName": "tma_smc", + "MetricThreshold": "tma_smc > 0.02", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles, relative to thenumber of
mem_schedulerslots, in which uops are blocked due to store buffer full",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 721
Quoted 2 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +2
-0+ "MetricExpr": "tma_store_bound", + "MetricGroup":"TopdownL4;tma_L4_group;tma_mem_scheduler_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_st_buffer", + "MetricThreshold": "tma_st_buffer > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles that the oldest load ofthe load buffer is stalled at retirement due to a first level TLB miss.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 729
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@LD_HEAD.DTLB_MISS_AT_RET@ /
tma_info_core_clks",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 8 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +8
-0+ "MetricGroup": "TopdownL4;tma_L4_group;tma_l1_bound_group", + "MetricName": "tma_stlb_hit", + "MetricThreshold": "tma_stlb_hit > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles that the oldest load ofthe load buffer is stalled at retirement due to a second level TLB miss requiring a page walk.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 738
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@LD_HEAD.PGWALK_AT_RET@ /
tma_info_core_clks",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 8 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +8
-0+ "MetricGroup": "TopdownL4;tma_L4_group;tma_l1_bound_group", + "MetricName": "tma_stlb_miss", + "MetricThreshold": "tma_stlb_miss > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles the core is stalled dueto store buffer full.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 747
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "tma_mem_scheduler *(cpu_atom@MEM_SCHEDULER_BLOCK.ST_BUF@ /
cpu_atom@MEM_SCHEDULER_BLOCK.ALL@)",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 748
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_memory_bound_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_store_bound", + "MetricThreshold": "tma_store_bound > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles that the oldest load ofthe load buffer is stalled at retirement due to a store forward block.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 756
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@LD_HEAD.ST_ADDR_AT_RET@ /
tma_info_core_clks",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 9 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +9
-0+ "MetricGroup": "TopdownL4;tma_L4_group;tma_l1_bound_group", + "MetricName": "tma_store_fwd_blk", + "MetricThreshold": "tma_store_fwd_blk > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Uncore frequency per die [GHZ]", + "MetricExpr": "tma_info_system_socket_clks / #num_dies /
duration_time/ 1e9",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 6 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +6
-0+ "MetricGroup": "SoC", + "MetricName": "UNCORE_FREQ", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This metric represents Core fraction of cycles CPUdispatched uops on execution ports for ALU operations.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 772
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "(cpu_core@UOPS_DISPATCHED.PORT_0@ +cpu_core@UOPS_DISPATCHED.PORT_1@ + cpu_core@UOPS_DISPATCHED.PORT_5_11@ + cpu_core@UOPS_DISPATCHED.PORT_6@) / (5 *
tma_info_core_core_clks)",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 773
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL5;tma_L5_group;tma_ports_utilized_3m_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_alu_op_utilization", + "MetricThreshold": "tma_alu_op_utilization > 0.4", + "ScaleUnit": "100%", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This metric estimates fraction of slots the CPUretired uops delivered by the
Microcode_Sequenceras a result of Assists",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 781
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "78 * [email protected]@ /
tma_info_thread_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 782
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL4;tma_L4_group;tma_microcode_sequencer_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 784
Quoted 2 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +2
-0+ "MetricName": "tma_assists", + "MetricThreshold": "tma_assists > 0.1 & (tma_microcode_sequencer >0.05 &
tma_heavy_operations> 0.1)",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 785
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "PublicDescription": "This metric estimates fraction of slots the CPUretired uops delivered by the
Microcode_Sequenceras a result of Assists. Assists are long sequences of uops that are required in certain corner-cases for operations that cannot be handled natively by the execution pipeline. For example; when working with very small floating point values (so-called Denormals); the FP units are not set up to perform these operations natively. Instead; a sequence of instructions to perform the computation on the Denormals is injected into the pipeline. Since these microcode sequences might be dozens of uops long; Assists can be extremely deleterious to performance and they can be avoided in many cases. Sample with:
ASSISTS.ANY",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "ScaleUnit": "100%", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This metric estimates fraction of slots the CPUretired uops as a result of handing SSE to AVX* or AVX* to SSE transition Assists.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 791
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "63 * [email protected]_AVX_MIX@ /
tma_info_thread_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 8 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +8
-0+ "MetricGroup": "HPC;TopdownL5;tma_L5_group;tma_assists_group", + "MetricName": "tma_avx_assists", + "MetricThreshold": "tma_avx_assists > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This category represents fraction of slots where nouops are being delivered due to a lack of required resources for accepting new uops in the Backend",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 800
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_core@topdown\\-be\\-bound@ /(cpu_core@topdown\\-fe\\-bound@ + cpu_core@topdown\\-bad\\-spec@
+ cpu_core@topdown\\-retiring@ + cpu_core@topdown\\-be\\-bound@) + 0 *tma_info_thread_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "MetricGroup": "TmaL1;TopdownL1;tma_L1_group", + "MetricName": "tma_backend_bound", + "MetricThreshold": "tma_backend_bound > 0.2", + "MetricgroupNoGroup": "TopdownL1", + "PublicDescription": "This category represents fraction of slots whereno uops are being delivered due to a lack of required resources for accepting new uops in the Backend. Backend is the portion of the processor core where the out-of-order scheduler dispatches ready uops into their respective execution units; and once completed these uops get retired according to program order. For example; stalls due to data-cache misses or stalls due to the divider unit being overloaded are both categorized under Backend Bound. Backend Bound is further divided into two main categories: Memory Bound and Core Bound. Sample with: TOPDOWN.BACKEND_BOUND_SLOTS",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "ScaleUnit": "100%", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This category represents fraction of slots wasteddue to incorrect speculations",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 811
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "max(1 - (tma_frontend_bound + tma_backend_bound +
tma_retiring), 0)",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "MetricGroup": "TmaL1;TopdownL1;tma_L1_group", + "MetricName": "tma_bad_speculation", + "MetricThreshold": "tma_bad_speculation > 0.15", + "MetricgroupNoGroup": "TopdownL1", + "PublicDescription": "This category represents fraction of slots wasteddue to incorrect speculations. This include slots used to issue uops that do not eventually get retired and slots for which the issue-pipeline was blocked due to recovery from earlier incorrect speculation. For example; wasted work due to miss-predicted branches are categorized under Bad Speculation category. Incorrect data speculation followed by Memory Ordering Nukes is another example.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "ScaleUnit": "100%", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This metric represents fraction of slots the CPU haswasted due to Branch Misprediction",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 822
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_core@topdown\\-br\\-mispredict@ /(cpu_core@topdown\\-fe\\-bound@ + cpu_core@topdown\\-bad\\-spec@
+ cpu_core@topdown\\-retiring@ + cpu_core@topdown\\-be\\-bound@) + 0 *tma_info_thread_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 823
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"BadSpec;BrMispredicts;TmaL2;TopdownL2;tma_L2_group;tma_bad_specula tion_group;tma_issueBM",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 825
Quoted 2 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +2
-0+ "MetricName": "tma_branch_mispredicts", + "MetricThreshold": "tma_branch_mispredicts > 0.1 &
tma_bad_speculation> 0.15",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 827
Quoted 2 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +2
-0+ "MetricgroupNoGroup": "TopdownL2", + "PublicDescription": "This metric represents fraction of slots the CPUhas wasted due to Branch Misprediction. These slots are either wasted by uops fetched from an incorrectly speculated program path; or stalls when the out-of-order part of the machine needs to recover its state from a speculative path. Sample with: TOPDOWN.BR_MISPREDICT_SLOTS. Related metrics:
tma_info_bad_spec_branch_misprediction_cost,tma_info_bottleneck_mispredictions,tma_mispredicts_resteers",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "ScaleUnit": "100%", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This metric represents fraction of cycles the CPUwas stalled due to Branch Resteers",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 833
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_core@INT_MISC.CLEAR_RESTEER_CYCLES@ /
tma_info_thread_clks+tma_unknown_branches",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 834
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"FetchLat;TopdownL3;tma_L3_group;tma_fetch_latency_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 836
Quoted 2 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +2
-0+ "MetricName": "tma_branch_resteers", + "MetricThreshold": "tma_branch_resteers > 0.05 &(
tma_fetch_latency> 0.1 &tma_frontend_bound> 0.15)",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 837
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "PublicDescription": "This metric represents fraction of cycles the CPUwas stalled due to Branch Resteers. Branch Resteers estimates the Frontend delay in fetching operations from corrected path; following all sorts of miss- predicted branches. For example; branchy code with lots of miss-predictions might get categorized under Branch Resteers. Note the value of this node may overlap with its siblings. Sample with: BR_MISP_RETIRED.ALL_BRANCHES",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "ScaleUnit": "100%", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This metric represents fraction of cycles the CPUwas stalled due staying in C0.1 power-performance optimized state (Faster wakeup time; Smaller power savings).",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 843
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_core@CPU_CLK_UNHALTED.C01@ /
tma_info_thread_clks",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 844
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"C0Wait;TopdownL4;tma_L4_group;tma_serializing_operation_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 846
Quoted 2 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +2
-0+ "MetricName": "tma_c01_wait", + "MetricThreshold": "tma_c01_wait > 0.05 &(
tma_serializing_operation> 0.1 & (tma_core_bound> 0.1 &tma_backend_bound> 0.2))",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "ScaleUnit": "100%", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This metric represents fraction of cycles the CPUwas stalled due staying in C0.2 power-performance optimized state (Slower wakeup time; Larger power savings).",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 852
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_core@CPU_CLK_UNHALTED.C02@ /
tma_info_thread_clks",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 853
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"C0Wait;TopdownL4;tma_L4_group;tma_serializing_operation_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 855
Quoted 2 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +2
-0+ "MetricName": "tma_c02_wait", + "MetricThreshold": "tma_c02_wait > 0.05 &(
tma_serializing_operation> 0.1 & (tma_core_bound> 0.1 &tma_backend_bound> 0.2))",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "ScaleUnit": "100%", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This metric estimates fraction of cycles the CPUretired uops originated from CISC (complex instruction set computer) instruction",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 862
Quoted 2 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +2
-0+ "MetricExpr": "max(0, tma_microcode_sequencer - tma_assists)", + "MetricGroup":"TopdownL4;tma_L4_group;tma_microcode_sequencer_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 864
Quoted 2 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +2
-0+ "MetricName": "tma_cisc", + "MetricThreshold": "tma_cisc > 0.1 & (tma_microcode_sequencer >0.05 &
tma_heavy_operations> 0.1)",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 865
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "PublicDescription": "This metric estimates fraction of cycles the CPUretired uops originated from CISC (complex instruction set computer) instruction. A CISC instruction has multiple uops that are required to perform the instruction's functionality as in the case of read-modify-write as an example. Since these instructions require multiple uops they may or may not imply sub-optimal use of machine resources. Sample with:
FRONTEND_RETIRED.MS_FLOWS",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "ScaleUnit": "100%", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This metric represents fraction of cycles the CPUwas stalled due to Branch Resteers as a result of Machine Clears",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 871
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "(1 - tma_branch_mispredicts / tma_bad_speculation) *cpu_core@INT_MISC.CLEAR_RESTEER_CYCLES@ /
tma_info_thread_clks",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 872
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"BadSpec;MachineClears;TopdownL4;tma_L4_group;tma_branch_resteers_gr oup;tma_issueMC",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 874
Quoted 2 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +2
-0+ "MetricName": "tma_clears_resteers", + "MetricThreshold": "tma_clears_resteers > 0.05 &(
tma_branch_resteers> 0.05 & (tma_fetch_latency> 0.1 &tma_frontend_bound> 0.15))",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 875
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "PublicDescription": "This metric represents fraction of cycles the CPUwas stalled due to Branch Resteers as a result of Machine Clears. Sample with:
INT_MISC.CLEAR_RESTEER_CYCLES. Related metrics:tma_l1_bound,tma_machine_clears,tma_microcode_sequencer,tma_ms_switches",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "ScaleUnit": "100%", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This metric estimates fraction of cycles while thememory subsystem was handling synchronizations due to contested accesses",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 881
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr":"(cpu_core@MEM_LOAD_L3_HIT_RETIRED.XSNP_MISS@ *
min(cpu_core@MEM_LOAD_L3_HIT_RETIRED.XSNP_MISS@:retire_latency, 24 * tma_info_system_core_frequency)+ cpu_core@MEM_LOAD_L3_HIT_RETIRED.XSNP_FWD@ * min(cpu_core@MEM_LOAD_L3_HIT_RETIRED.XSNP_FWD@:retire_latency, 25
*tma_info_system_core_frequency) * ([email protected]_DATA_RD.L3_HIT.SNOOP_HITM@ / ([email protected]_DATA_RD.L3_HIT.SNOOP_HITM@ + [email protected]_DATA_RD.L3_HIT.SNOOP_HIT_WITH_FWD@))) * (1
+ cpu_core@MEM_LOAD_RETIRED.FB_HIT@ / cpu_core@MEM_LOAD_RETIRED.L1_MISS@ / 2) /tma_info_thread_clks",
Quoted 5 lines
Thanks Weilin! The modifier on an event doesn't usually have the colon when there is a slash. So:
cpu_core@MEM_LOAD_L3_HIT_RETIRED.XSNP_FWD@:retire_latency Should be:
cpu_core@MEM_LOAD_L3_HIT_RETIRED.XSNP_FWD@retire_latency
Thanks Ian! I will update this accordingly.
Quoted 3 lines
The modifiers also tend to be a single character. The modifier 'R' is unused, so I wonder we can use it here so that we can support these events not just in metrics.
Do you mean we use 'R' instead of "retire_latency" in all the formulas? I could do this Update.
Quoted 2 lines
Ian
Ian Rogers
reviewerRe: [RFC PATCH v2 6/6] perf vendor events intel: Add MTL metric json files
Quoted 1,524 lines · Weilin
Quoted 1,519 lines
-----Original Message-----
From: Ian Rogers <[email protected]>
Sent: Wednesday, February 28, 2024 8:50 AM
To: Wang, Weilin <[email protected]>
Cc: Peter Zijlstra <[email protected]>; Ingo Molnar <[email protected]>; Arnaldo Carvalho de Melo <[email protected]>; Alexander Shishkin <[email protected]>; Jiri Olsa <[email protected]>; Namhyung Kim <[email protected]>; Hunter, Adrian <[email protected]>; Kan Liang <[email protected]>; [email protected]; [email protected]; Taylor, Perry <[email protected]>; Alt, Samantha <[email protected]>; Biggers, Caleb <[email protected]>
Subject: Re: [RFC PATCH v2 6/6] perf vendor events intel: Add MTL metric json filesQuoted 4 lines · On Wed, Feb 28, 2024 at 8:12 AM <[email protected]> wrote:
From: Weilin Wang <[email protected]>
Add MTL metric json file at TMA4.7 [1]. Some of the metrics' formulas use
TPEBS
Quoted 3 lines
retire_latencyin MTL.Quoted 7 lines
Signed-off-by Weilin Wang <[email protected]>--- .../arch/x86/meteorlake/metricgroups.json | 127 + .../arch/x86/meteorlake/mtl-metrics.json | 2531 +++++++++++++++++ 2 files changed, 2658 insertions(+) create mode 100644 tools/perf/pmu-
events/arch/x86/meteorlake/metricgroups.jsonQuoted 1 line
create mode 100644 tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Review
Quoted 2 lines
(quoted diff) +0
-0
b/tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.jsontools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 2
Quoted 7 lines
new file mode 100644
index 000000000000..7a03835f262ctools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +2
-0@@ -0,0 +1,127 @@ +{ + "Backend": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 3
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Bad": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 4
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "BadSpec": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 5
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "BigFootprint": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 6
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "BrMispredicts": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 7
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Branches": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 8
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "C0Wait": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 9
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "CacheHits": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 10
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "CodeGen": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 11
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Compute": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 12
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Cor": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 13
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "DSB": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 14
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "DSBmiss": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 15
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "DataSharing": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 16
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Fed": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 17
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "FetchBW": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 18
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "FetchLat": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 19
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Flops": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 20
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "FpScalar": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 21
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "FpVector": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 22
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Frontend": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 23
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "HPC": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 24
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "IcMiss": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 25
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "InsType": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 26
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "IntVector": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 27
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "L2Evicts": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 28
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "LSD": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 29
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "MachineClears": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 30
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Machine_Clears": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 31
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Mem": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 32
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "MemOffcore": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 33
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "MemoryBW": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 34
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "MemoryBound": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 35
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "MemoryLat": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 36
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "MemoryTLB": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 37
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Memory_BW": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 38
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Memory_Lat": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 39
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "MicroSeq": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 40
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "OS": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 41
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Offcore": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 42
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "PGO": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 43
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Pipeline": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 44
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "PortsUtil": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 45
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Power": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 46
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Prefetches": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 47
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Ret": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 48
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Retire": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 49
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "SMT": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 50
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Server": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 51
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Snoop": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 52
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "SoC": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 53
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "Summary": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 54
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "TmaL1": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 55
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "TmaL2": "Grouping from Top-down Microarchitecture Analysis Metricsspreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 56
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "TmaL3mem": "Grouping from Top-down Microarchitecture AnalysisMetrics spreadsheet",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json
Quoted 13 lines
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +13
-0+ "TopdownL1": "Metrics for top-down breakdown at level 1", + "TopdownL2": "Metrics for top-down breakdown at level 2", + "TopdownL3": "Metrics for top-down breakdown at level 3", + "TopdownL4": "Metrics for top-down breakdown at level 4", + "TopdownL5": "Metrics for top-down breakdown at level 5", + "TopdownL6": "Metrics for top-down breakdown at level 6", + "tma_L1_group": "Metrics for top-down breakdown at level 1", + "tma_L2_group": "Metrics for top-down breakdown at level 2", + "tma_L3_group": "Metrics for top-down breakdown at level 3", + "tma_L4_group": "Metrics for top-down breakdown at level 4", + "tma_L5_group": "Metrics for top-down breakdown at level 5", + "tma_L6_group": "Metrics for top-down breakdown at level 6", + "tma_alu_op_utilization_group": "Metrics contributing to
tma_alu_op_utilizationcategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 71
Quoted 2 lines
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +2
-0+ "tma_assists_group": "Metrics contributing to tma_assists category", + "tma_backend_bound_aux_group": "Metrics contributing to
tma_backend_bound_auxcategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 72
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_backend_bound_group": "Metrics contributing to
tma_backend_boundcategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 73
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_bad_speculation_group": "Metrics contributing to
tma_bad_speculationcategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 75
Quoted 2 lines
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +2
-0+ "tma_base_group": "Metrics contributing to tma_base category", + "tma_branch_mispredicts_group": "Metrics contributing to
tma_branch_mispredictscategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 76
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_branch_resteers_group": "Metrics contributing to
tma_branch_resteerscategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 77
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_core_bound_group": "Metrics contributing to tma_core_boundcategory",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 78
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_dram_bound_group": "Metrics contributing to tma_dram_boundcategory",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 79
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_dtlb_load_group": "Metrics contributing to tma_dtlb_loadcategory",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 80
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_dtlb_store_group": "Metrics contributing to tma_dtlb_storecategory",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 81
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_fetch_bandwidth_group": "Metrics contributing to
tma_fetch_bandwidthcategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 82
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_fetch_latency_group": "Metrics contributing to tma_fetch_latencycategory",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 84
Quoted 2 lines
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +2
-0+ "tma_fp_arith_group": "Metrics contributing to tma_fp_arith category", + "tma_fp_vector_group": "Metrics contributing to tma_fp_vectorcategory",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 85
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_frontend_bound_group": "Metrics contributing to
tma_frontend_boundcategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 86
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_heavy_operations_group": "Metrics contributing to
tma_heavy_operationscategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 87
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_int_operations_group": "Metrics contributing to
tma_int_operationscategory",Quoted 10 lines
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +10
-0+ "tma_issue2P": "Metrics related by the issue $issue2P", + "tma_issueBM": "Metrics related by the issue $issueBM", + "tma_issueBW": "Metrics related by the issue $issueBW", + "tma_issueComp": "Metrics related by the issue $issueComp", + "tma_issueD0": "Metrics related by the issue $issueD0", + "tma_issueFB": "Metrics related by the issue $issueFB", + "tma_issueFL": "Metrics related by the issue $issueFL", + "tma_issueL1": "Metrics related by the issue $issueL1", + "tma_issueLat": "Metrics related by the issue $issueLat", + "tma_issueMC": "Metrics related by the issue $issueMC",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json
Quoted 10 lines
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +10
-0+ "tma_issueMS": "Metrics related by the issue $issueMS", + "tma_issueMV": "Metrics related by the issue $issueMV", + "tma_issueRFO": "Metrics related by the issue $issueRFO", + "tma_issueSL": "Metrics related by the issue $issueSL", + "tma_issueSO": "Metrics related by the issue $issueSO", + "tma_issueSmSt": "Metrics related by the issue $issueSmSt", + "tma_issueSpSt": "Metrics related by the issue $issueSpSt", + "tma_issueSyncxn": "Metrics related by the issue $issueSyncxn", + "tma_issueTLB": "Metrics related by the issue $issueTLB", + "tma_l1_bound_group": "Metrics contributing to tma_l1_boundcategory",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 108
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_l3_bound_group": "Metrics contributing to tma_l3_boundcategory",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 109
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_light_operations_group": "Metrics contributing to
tma_light_operationscategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 110
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_load_op_utilization_group": "Metrics contributing to
tma_load_op_utilizationcategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 111
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_machine_clears_group": "Metrics contributing to
tma_machine_clearscategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 112
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_mem_latency_group": "Metrics contributing to tma_mem_latencycategory",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 113
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_mem_scheduler_group": "Metrics contributing to
tma_mem_schedulercategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 114
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_memory_bound_group": "Metrics contributing to
tma_memory_boundcategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 115
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_microcode_sequencer_group": "Metrics contributing to
tma_microcode_sequencercategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json
Quoted 3 lines
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +3
-0+ "tma_mite_group": "Metrics contributing to tma_mite category", + "tma_nuke_group": "Metrics contributing to tma_nuke category", + "tma_other_light_ops_group": "Metrics contributing to
tma_other_light_opscategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 119
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_ports_utilization_group": "Metrics contributing to
tma_ports_utilizationcategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 120
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_ports_utilized_0_group": "Metrics contributing to
tma_ports_utilized_0category",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 121
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_ports_utilized_3m_group": "Metrics contributing to
tma_ports_utilized_3mcategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 122
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_resource_bound_group": "Metrics contributing to
tma_resource_boundcategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 124
Quoted 2 lines
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +2
-0+ "tma_retiring_group": "Metrics contributing to tma_retiring category", + "tma_serializing_operation_group": "Metrics contributing to
tma_serializing_operationcategory",tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 125
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_store_bound_group": "Metrics contributing to tma_store_boundcategory",
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json line 126
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+ "tma_store_op_utilization_group": "Metrics contributing to
tma_store_op_utilizationcategory"Review
Quoted 2 lines
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json new file +1
-0+}(quoted diff) +0
-0
b/tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.jsonQuoted 68 lines
new file mode 100644
index 000000000000..12df19538fd6tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +63
-0@@ -0,0 +1,2531 @@ +[ + { + "BriefDescription": "C10 residency percent per package", + "MetricExpr": "cstate_pkg@c10\\-residency@ / TSC", + "MetricGroup": "Power", + "MetricName": "C10_Pkg_Residency", + "ScaleUnit": "100%" + }, + { + "BriefDescription": "C1 residency percent per core", + "MetricExpr": "cstate_core@c1\\-residency@ / TSC", + "MetricGroup": "Power", + "MetricName": "C1_Core_Residency", + "ScaleUnit": "100%" + }, + { + "BriefDescription": "C2 residency percent per package", + "MetricExpr": "cstate_pkg@c2\\-residency@ / TSC", + "MetricGroup": "Power", + "MetricName": "C2_Pkg_Residency", + "ScaleUnit": "100%" + }, + { + "BriefDescription": "C3 residency percent per package", + "MetricExpr": "cstate_pkg@c3\\-residency@ / TSC", + "MetricGroup": "Power", + "MetricName": "C3_Pkg_Residency", + "ScaleUnit": "100%" + }, + { + "BriefDescription": "C6 residency percent per core", + "MetricExpr": "cstate_core@c6\\-residency@ / TSC", + "MetricGroup": "Power", + "MetricName": "C6_Core_Residency", + "ScaleUnit": "100%" + }, + { + "BriefDescription": "C6 residency percent per package", + "MetricExpr": "cstate_pkg@c6\\-residency@ / TSC", + "MetricGroup": "Power", + "MetricName": "C6_Pkg_Residency", + "ScaleUnit": "100%" + }, + { + "BriefDescription": "C7 residency percent per core", + "MetricExpr": "cstate_core@c7\\-residency@ / TSC", + "MetricGroup": "Power", + "MetricName": "C7_Core_Residency", + "ScaleUnit": "100%" + }, + { + "BriefDescription": "C7 residency percent per package", + "MetricExpr": "cstate_pkg@c7\\-residency@ / TSC", + "MetricGroup": "Power", + "MetricName": "C7_Pkg_Residency", + "ScaleUnit": "100%" + }, + { + "BriefDescription": "C8 residency percent per package", + "MetricExpr": "cstate_pkg@c8\\-residency@ / TSC", + "MetricGroup": "Power", + "MetricName": "C8_Pkg_Residency", + "ScaleUnit": "100%"tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 73
Quoted 10 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +10
-0+ }, + { + "BriefDescription": "C9 residency percent per package", + "MetricExpr": "cstate_pkg@c9\\-residency@ / TSC", + "MetricGroup": "Power", + "MetricName": "C9_Pkg_Residency", + "ScaleUnit": "100%" + }, + { + "BriefDescription": "Percentage of cycles spent in System ManagementInterrupts.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 74
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "((msr@aperf@ - cycles) / msr@aperf@ if msr@smi@ >0 else 0)",
Quoted 4 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +4
-0+ "MetricGroup": "smi", + "MetricName": "smi_cycles", + "MetricThreshold": "smi_cycles > 0.1", + "ScaleUnit": "100%"tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 10 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +10
-0+ }, + { + "BriefDescription": "Number of SMI interrupts.", + "MetricExpr": "msr@smi@", + "MetricGroup": "smi", + "MetricName": "smi_num", + "ScaleUnit": "1SMI#" + }, + { + "BriefDescription": "Counts the number of issue slots that were notconsumed by the backend due to certain allocation restrictions.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 89
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr":"cpu_atom@TOPDOWN_BE_BOUND.ALLOC_RESTRICTIONS@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 90
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_resource_bound_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_alloc_restriction", + "MetricThreshold": "tma_alloc_restriction > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the total number of issue slots that werenot consumed by the backend due to backend stalls",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 98
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@TOPDOWN_BE_BOUND.ALL@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "MetricGroup": "TopdownL1;tma_L1_group", + "MetricName": "tma_backend_bound", + "MetricThreshold": "tma_backend_bound > 0.1", + "MetricgroupNoGroup": "TopdownL1", + "PublicDescription": "Counts the total number of issue slots that werenot consumed by the backend due to backend stalls. Note that uops must be available for consumption in order for this event to count. If a uop is not
available (IQ is empty), this event will not count. The rest of these subevents
count backend stalls, in cycles, due to an outstanding request which is
memory bound vs core bound. The subevents are not slot based events and
therefore can not be precisely added or subtracted from theBackend_Bound_Auxsubevents which are slot based.",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the total number of issue slots that werenot consumed by the backend due to backend stalls",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 6 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +6
-0+ "MetricExpr": "tma_backend_bound", + "MetricGroup": "TopdownL1;tma_L1_group", + "MetricName": "tma_backend_bound_aux", + "MetricThreshold": "tma_backend_bound_aux > 0.2", + "MetricgroupNoGroup": "TopdownL1", + "PublicDescription": "Counts the total number of issue slots that werenot consumed by the backend due to backend stalls. Note that UOPS must be available for consumption in order for this event to count. If a uop is not available (IQ is empty), this event will not count. All of these subevents count
backend stalls, in slots, due to a resource limitation. These are not cycle based
events and therefore can not be precisely added or subtracted from theBackend_Boundsubevents which are cycle based. These subevents are supplementary toBackend_Boundand can be used to analyze results from a resource perspective at allocation.",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the total number of issue slots that werenot consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 120
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@TOPDOWN_BAD_SPECULATION.ALL@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "MetricGroup": "TopdownL1;tma_L1_group", + "MetricName": "tma_bad_speculation", + "MetricThreshold": "tma_bad_speculation > 0.15", + "MetricgroupNoGroup": "TopdownL1", + "PublicDescription": "Counts the total number of issue slots that werenot consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear. Only issue slots wasted due to fast nukes such as memory ordering nukes are counted. Other nukes are not accounted for. Counts all issue slots blocked during this recovery window including relevant microcode flows and while uops are not yet available in the instruction queue (IQ). Also includes the issue slots that were consumed by the backend but were thrown away because they were younger than the mispredict or machine clear.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of uops that are not from themicrosequencer.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 131
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "(cpu_atom@TOPDOWN_RETIRING.ALL@ -cpu_atom@UOPS_RETIRED.MS@) /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 9 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +9
-0+ "MetricGroup": "TopdownL2;tma_L2_group;tma_retiring_group", + "MetricName": "tma_base", + "MetricThreshold": "tma_base > 0.6", + "MetricgroupNoGroup": "TopdownL2", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notdelivered by the frontend due to BACLEARS, which occurs when the Branch Target Buffer (BTB) prediction or lack thereof, was corrected by a later branch predictor in the frontend",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 141
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.BRANCH_DETECT@/
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 142
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_fetch_latency_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 3 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +3
-0+ "MetricName": "tma_branch_detect", + "MetricThreshold": "tma_branch_detect > 0.05", + "PublicDescription": "Counts the number of issue slots that were notdelivered by the frontend due to BACLEARS, which occurs when the Branch Target Buffer (BTB) prediction or lack thereof, was corrected by a later branch predictor in the frontend. Includes BACLEARS due to all branch types including conditional and unconditional jumps, returns, and indirect branches.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notconsumed by the backend due to branch mispredicts.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 151
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr":"cpu_atom@TOPDOWN_BAD_SPECULATION.MISPREDICT@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 152
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL2;tma_L2_group;tma_bad_speculation_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 8 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +8
-0+ "MetricName": "tma_branch_mispredicts", + "MetricThreshold": "tma_branch_mispredicts > 0.05", + "MetricgroupNoGroup": "TopdownL2", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notdelivered by the frontend due to BTCLEARS, which occurs when the Branch Target Buffer (BTB) predicts a taken branch.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 161
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr":"cpu_atom@TOPDOWN_FE_BOUND.BRANCH_RESTEER@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 162
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_fetch_latency_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_branch_resteer", + "MetricThreshold": "tma_branch_resteer > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notdelivered by the frontend due to the microcode sequencer (MS).",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 170
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.CISC@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 171
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_fetch_bandwidth_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_cisc", + "MetricThreshold": "tma_cisc > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles due to backendbound stalls that are core execution bound and not attributed to outstanding demand load or store stalls.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 180
Quoted 2 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +2
-0+ "MetricExpr": "max(0, tma_backend_bound - tma_memory_bound)", + "MetricGroup":"TopdownL2;tma_L2_group;tma_backend_bound_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 8 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +8
-0+ "MetricName": "tma_core_bound", + "MetricThreshold": "tma_core_bound > 0.1", + "MetricgroupNoGroup": "TopdownL2", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notdelivered by the frontend due to decode stalls.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 189
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.DECODE@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 190
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_fetch_bandwidth_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_decode", + "MetricThreshold": "tma_decode > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of machine clears relative tothe number of nuke slots due to memory disambiguation.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 198
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "tma_nuke *(cpu_atom@MACHINE_CLEARS.DISAMBIGUATION@ /
cpu_atom@MACHINE_CLEARS.SLOW@)",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 8 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +8
-0+ "MetricGroup": "TopdownL4;tma_L4_group;tma_nuke_group", + "MetricName": "tma_disambiguation", + "MetricThreshold": "tma_disambiguation > 0.02", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles the core is stalled dueto a demand load miss which hit in DRAM or MMIO (Non-DRAM).",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 207
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@MEM_BOUND_STALLS_LOAD.LLC_MISS@ /
tma_info_core_clks-max((cpu_atom@MEM_BOUND_STALLS_LOAD.ALL@ - cpu_atom@LD_HEAD.L1_MISS_AT_RET@) / tma_info_core_clks, 0)* cpu_atom@MEM_BOUND_STALLS_LOAD.LLC_MISS@ / cpu_atom@MEM_BOUND_STALLS_LOAD.ALL@",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 208
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_memory_bound_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_dram_bound", + "MetricThreshold": "tma_dram_bound > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notconsumed by the backend due to a machine clear classified as a fast nuke due to memory ordering, memory disambiguation and memory renaming.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 216
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr":"cpu_atom@TOPDOWN_BAD_SPECULATION.FASTNUKE@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 217
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_machine_clears_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_fast_nuke", + "MetricThreshold": "tma_fast_nuke > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notdelivered by the frontend due to frontend bandwidth restrictions due to decode, predecode, cisc, and other limitations.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 225
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr":"cpu_atom@TOPDOWN_FE_BOUND.FRONTEND_BANDWIDTH@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 226
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL2;tma_L2_group;tma_frontend_bound_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 8 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +8
-0+ "MetricName": "tma_fetch_bandwidth", + "MetricThreshold": "tma_fetch_bandwidth > 0.1", + "MetricgroupNoGroup": "TopdownL2", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notdelivered by the frontend due to frontend bandwidth restrictions due to decode, predecode, cisc, and other limitations.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 235
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr":"cpu_atom@TOPDOWN_FE_BOUND.FRONTEND_LATENCY@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 236
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL2;tma_L2_group;tma_frontend_bound_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 8 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +8
-0+ "MetricName": "tma_fetch_latency", + "MetricThreshold": "tma_fetch_latency > 0.15", + "MetricgroupNoGroup": "TopdownL2", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of machine clears relative tothe number of nuke slots due to FP assists.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 245
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "tma_nuke *(cpu_atom@MACHINE_CLEARS.FP_ASSIST@ /
cpu_atom@MACHINE_CLEARS.SLOW@)",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 8 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +8
-0+ "MetricGroup": "TopdownL4;tma_L4_group;tma_nuke_group", + "MetricName": "tma_fp_assist", + "MetricThreshold": "tma_fp_assist > 0.02", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of floating point divideoperations per uop.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 254
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@UOPS_RETIRED.FPDIV@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 8 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +8
-0+ "MetricGroup": "TopdownL3;tma_L3_group;tma_base_group", + "MetricName": "tma_fpdiv_uops", + "MetricThreshold": "tma_fpdiv_uops > 0.2", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notconsumed by the backend due to frontend stalls.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 263
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.ALL@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 9 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +9
-0+ "MetricGroup": "TopdownL1;tma_L1_group", + "MetricName": "tma_frontend_bound", + "MetricThreshold": "tma_frontend_bound > 0.2", + "MetricgroupNoGroup": "TopdownL1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notdelivered by the frontend due to instruction cache misses.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 273
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.ICACHE@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 274
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_fetch_latency_group",
Quoted 16 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +16
-0+ "MetricName": "tma_icache_misses", + "MetricThreshold": "tma_icache_misses > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "", + "MetricExpr": "cpu_atom@CPU_CLK_UNHALTED.CORE@", + "MetricName": "tma_info_core_clks", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "", + "MetricExpr": "cpu_atom@CPU_CLK_UNHALTED.CORE_P@", + "MetricName": "tma_info_core_clks_p", + "Unit": "cpu_atom"tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 10 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +10
-0+ }, + { + "BriefDescription": "Cycles Per Instruction", + "MetricExpr": "tma_info_core_clks / INST_RETIRED.ANY", + "MetricName": "tma_info_core_cpi", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Instructions Per Cycle", + "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ /
tma_info_core_clks",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 12 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +12
-0+ "MetricName": "tma_info_core_ipc", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "", + "MetricExpr": "6 * tma_info_core_clks", + "MetricName": "tma_info_core_slots", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Uops Per Instruction", + "MetricExpr": "cpu_atom@UOPS_RETIRED.ALL@ /INST_RETIRED.ANY",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 6 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +6
-0+ "MetricName": "tma_info_core_upi", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Percent of instruction miss cost that hit in DRAM", + "MetricExpr": "100 *cpu_atom@MEM_BOUND_STALLS_IFETCH.LLC_MISS@ /
cpu_atom@MEM_BOUND_STALLS_IFETCH.ALL@",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 6 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +6
-0+ "MetricName": "tma_info_frontend_inst_miss_cost_dramhit_percent", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Percent of instruction miss cost that hit in the L2", + "MetricExpr": "100 *cpu_atom@MEM_BOUND_STALLS_IFETCH.L2_HIT@ /
cpu_atom@MEM_BOUND_STALLS_IFETCH.ALL@",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 6 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +6
-0+ "MetricName": "tma_info_frontend_inst_miss_cost_l2hit_percent", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Percent of instruction miss cost that hit in the L3", + "MetricExpr": "100 *cpu_atom@MEM_BOUND_STALLS_IFETCH.LLC_HIT@ /
cpu_atom@MEM_BOUND_STALLS_IFETCH.ALL@",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 6 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +6
-0+ "MetricName": "tma_info_frontend_inst_miss_cost_l3hit_percent", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Ratio of all branches which mispredict", + "MetricExpr": "cpu_atom@BR_MISP_RETIRED.ALL_BRANCHES@ /BR_INST_RETIRED.ALL_BRANCHES",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "MetricName": "tma_info_inst_mix_branch_mispredict_ratio", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Ratio between Mispredicted branches andunknown branches",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 342
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@BR_MISP_RETIRED.ALL_BRANCHES@ /BACLEARS.ANY",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 343
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricName":"
tma_info_inst_mix_branch_mispredict_to_unknown_branch_ratio",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "Unit": "cpu_atom" + }, + { + "BriefDescription": "Percentage of all uops which are FPDiv uops", + "MetricExpr": "100 * cpu_atom@UOPS_RETIRED.FPDIV@ /UOPS_RETIRED.ALL",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 6 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +6
-0+ "MetricName": "tma_info_inst_mix_fpdiv_uop_ratio", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Percentage of all uops which are IDiv uops", + "MetricExpr": "100 * cpu_atom@UOPS_RETIRED.IDIV@ /UOPS_RETIRED.ALL",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "MetricName": "tma_info_inst_mix_idiv_uop_ratio", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Instructions per Branch (lower number meanshigher occurrence rate)",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 360
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ /BR_INST_RETIRED.ALL_BRANCHES",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "MetricName": "tma_info_inst_mix_ipbranch", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Instruction per (near) call (lower number meanshigher occurrence rate)",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 366
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ /BR_INST_RETIRED.NEAR_CALL",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 6 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +6
-0+ "MetricName": "tma_info_inst_mix_ipcall", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Instructions per Far Branch", + "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ /(cpu_atom@BR_INST_RETIRED.FAR_BRANCH@ / 2)",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 6 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +6
-0+ "MetricName": "tma_info_inst_mix_ipfarbranch", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Instructions per Load", + "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ /MEM_UOPS_RETIRED.ALL_LOADS",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "MetricName": "tma_info_inst_mix_ipload", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Instructions per retired conditional BranchMisprediction where the branch was not taken",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 384
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ /(cpu_atom@BR_MISP_RETIRED.COND@ -
cpu_atom@BR_MISP_RETIRED.COND_TAKEN@)",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "MetricName": "tma_info_inst_mix_ipmisp_cond_ntaken", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Instructions per retired conditional BranchMisprediction where the branch was taken",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 390
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ /BR_MISP_RETIRED.COND_TAKEN",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "MetricName": "tma_info_inst_mix_ipmisp_cond_taken", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Instructions per retired indirect call or jump BranchMisprediction",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 396
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ /BR_MISP_RETIRED.INDIRECT",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "MetricName": "tma_info_inst_mix_ipmisp_indirect", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Instructions per retired return BranchMisprediction",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 402
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ /BR_MISP_RETIRED.RETURN",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 6 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +6
-0+ "MetricName": "tma_info_inst_mix_ipmisp_ret", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Instructions per retired Branch Misprediction", + "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ /BR_MISP_RETIRED.ALL_BRANCHES",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 6 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +6
-0+ "MetricName": "tma_info_inst_mix_ipmispredict", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Instructions per Store", + "MetricExpr": "cpu_atom@INST_RETIRED.ANY@ /MEM_UOPS_RETIRED.ALL_STORES",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 6 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +6
-0+ "MetricName": "tma_info_inst_mix_ipstore", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Percentage of all uops which are ucode ops", + "MetricExpr": "100 * cpu_atom@UOPS_RETIRED.MS@ /UOPS_RETIRED.ALL",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 6 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +6
-0+ "MetricName": "tma_info_inst_mix_microcode_uop_ratio", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Percentage of all uops which are x87 uops", + "MetricExpr": "100 * cpu_atom@UOPS_RETIRED.X87@ /UOPS_RETIRED.ALL",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "MetricName": "tma_info_inst_mix_x87_uop_ratio", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Percentage of total non-speculative loads with aaddress aliasing block",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 432
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "100 * cpu_atom@LD_BLOCKS.ADDRESS_ALIAS@ /MEM_UOPS_RETIRED.ALL_LOADS",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "MetricName": "tma_info_l1_bound_address_alias_blocks", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Percentage of total non-speculative loads that aresplits",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 438
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "100 *cpu_atom@MEM_UOPS_RETIRED.SPLIT_LOADS@ /
MEM_UOPS_RETIRED.ALL_LOADS",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "MetricName": "tma_info_l1_bound_load_splits", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Percentage of total non-speculative loads with astore forward or unknown store address block",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 444
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "100 * cpu_atom@LD_BLOCKS.DATA_UNKNOWN@ /MEM_UOPS_RETIRED.ALL_LOADS",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 6 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +6
-0+ "MetricName": "tma_info_l1_bound_store_fwd_blocks", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Cycle cost per L2 hit", + "MetricExpr": "cpu_atom@MEM_BOUND_STALLS_LOAD.L2_HIT@ /MEM_LOAD_UOPS_RETIRED.L2_HIT",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 6 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +6
-0+ "MetricName": "tma_info_memory_cycles_per_demand_load_l2_hit", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Cycle cost per LLC hit", + "MetricExpr": "cpu_atom@MEM_BOUND_STALLS_LOAD.LLC_HIT@ /MEM_LOAD_UOPS_RETIRED.L3_HIT",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 6 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +6
-0+ "MetricName": "tma_info_memory_cycles_per_demand_load_l3_hit", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "load ops retired per 1000 instruction", + "MetricExpr": "1e3 * cpu_atom@MEM_UOPS_RETIRED.ALL_LOADS@ /INST_RETIRED.ANY",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 12 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +12
-0+ "MetricName": "tma_info_memory_memloadpki", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Average CPU Utilization", + "MetricExpr": "cpu_atom@CPU_CLK_UNHALTED.REF_TSC@ / TSC", + "MetricName": "tma_info_system_cpu_utilization", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Fraction of cycles spent in Kernel mode", + "MetricExpr": "cpu_atom@CPU_CLK_UNHALTED.CORE@k /CPU_CLK_UNHALTED.CORE",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 6 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +6
-0+ "MetricGroup": "Summary", + "MetricName": "tma_info_system_kernel_utilization", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Average Frequency Utilization relative nominalfrequency",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricExpr": "tma_info_core_clks / CPU_CLK_UNHALTED.REF_TSC", + "MetricGroup": "Power", + "MetricName": "tma_info_system_turbo_utilization", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notdelivered by the frontend due to Instruction Table Lookaside Buffer (ITLB) misses.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 488
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.ITLB_MISS@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 489
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_fetch_latency_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_itlb_misses", + "MetricThreshold": "tma_itlb_misses > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles that the oldest load ofthe load buffer is stalled at retirement due to a load block.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 497
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@LD_HEAD.L1_BOUND_AT_RET@ /
tma_info_core_clks",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 498
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_memory_bound_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_l1_bound", + "MetricThreshold": "tma_l1_bound > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles a core is stalled due toa demand load which hit in the L2 Cache.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 506
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@MEM_BOUND_STALLS_LOAD.L2_HIT@ /
tma_info_core_clks-max((cpu_atom@MEM_BOUND_STALLS_LOAD.ALL@ - cpu_atom@LD_HEAD.L1_MISS_AT_RET@) / tma_info_core_clks, 0)* cpu_atom@MEM_BOUND_STALLS_LOAD.L2_HIT@ / cpu_atom@MEM_BOUND_STALLS_LOAD.ALL@",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 507
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_memory_bound_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_l2_bound", + "MetricThreshold": "tma_l2_bound > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles a core is stalled due toa demand load which hit in the Last Level Cache (LLC) or other core with HITE/F/M.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 515
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@MEM_BOUND_STALLS_LOAD.LLC_HIT@ /
tma_info_core_clks-max((cpu_atom@MEM_BOUND_STALLS_LOAD.ALL@ - cpu_atom@LD_HEAD.L1_MISS_AT_RET@) / tma_info_core_clks, 0)* cpu_atom@MEM_BOUND_STALLS_LOAD.LLC_HIT@ / cpu_atom@MEM_BOUND_STALLS_LOAD.ALL@",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 516
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_memory_bound_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_l3_bound", + "MetricThreshold": "tma_l3_bound > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles, relative to thenumber of
mem_schedulerslots, in which uops are blocked due to load buffer full",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 524
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "tma_mem_scheduler *cpu_atom@MEM_SCHEDULER_BLOCK.LD_BUF@ /
MEM_SCHEDULER_BLOCK.ALL",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 525
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL4;tma_L4_group;tma_mem_scheduler_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_ld_buffer", + "MetricThreshold": "tma_ld_buffer > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the total number of issue slots that werenot consumed by the backend because allocation is stalled due to a machine clear (nuke) of any kind including memory ordering and memory disambiguation.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 533
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr":"cpu_atom@TOPDOWN_BAD_SPECULATION.MACHINE_CLEARS@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 534
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL2;tma_L2_group;tma_bad_speculation_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 8 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +8
-0+ "MetricName": "tma_machine_clears", + "MetricThreshold": "tma_machine_clears > 0.05", + "MetricgroupNoGroup": "TopdownL2", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notconsumed by the backend due to memory reservation stalls in which a scheduler is not able to accept uops.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 543
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr":"cpu_atom@TOPDOWN_BE_BOUND.MEM_SCHEDULER@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 544
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_resource_bound_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_mem_scheduler", + "MetricThreshold": "tma_mem_scheduler > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles the core is stalled dueto stores or loads.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 552
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "min(tma_backend_bound,cpu_atom@LD_HEAD.ANY_AT_RET@ /
tma_info_core_clks+tma_store_bound)",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 553
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL2;tma_L2_group;tma_backend_bound_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 8 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +8
-0+ "MetricName": "tma_memory_bound", + "MetricThreshold": "tma_memory_bound > 0.2", + "MetricgroupNoGroup": "TopdownL2", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of machine clears relative tothe number of nuke slots due to memory ordering.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 562
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "tma_nuke *(cpu_atom@MACHINE_CLEARS.MEMORY_ORDERING@ /
cpu_atom@MACHINE_CLEARS.SLOW@)",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 8 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +8
-0+ "MetricGroup": "TopdownL4;tma_L4_group;tma_nuke_group", + "MetricName": "tma_memory_ordering", + "MetricThreshold": "tma_memory_ordering > 0.02", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of uops that are from thecomplex flows issued by the micro-sequencer (MS)",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 571
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@UOPS_RETIRED.MS@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "MetricGroup": "TopdownL2;tma_L2_group;tma_retiring_group", + "MetricName": "tma_ms_uops", + "MetricThreshold": "tma_ms_uops > 0.05", + "MetricgroupNoGroup": "TopdownL2", + "PublicDescription": "Counts the number of uops that are from thecomplex flows issued by the micro-sequencer (MS). This includes uops from flows due to complex instructions, faults, assists, and inserted flows.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notconsumed by the backend due to IEC or FPC RAT stalls, which can be due to FIQ or IEC reservation stalls in which the integer, floating point or SIMD scheduler is not able to accept uops.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 582
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr":"cpu_atom@TOPDOWN_BE_BOUND.NON_MEM_SCHEDULER@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 583
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_resource_bound_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_non_mem_scheduler", + "MetricThreshold": "tma_non_mem_scheduler > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notconsumed by the backend due to a machine clear (slow nuke).",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 591
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@TOPDOWN_BAD_SPECULATION.NUKE@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 592
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_machine_clears_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_nuke", + "MetricThreshold": "tma_nuke > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notdelivered by the frontend due to other common frontend stalls not categorized.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 600
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.OTHER@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 601
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_fetch_bandwidth_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_other_fb", + "MetricThreshold": "tma_other_fb > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles that the oldest load ofthe load buffer is stalled at retirement due to a number of other load blocks.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 609
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@LD_HEAD.OTHER_AT_RET@ /
tma_info_core_clks",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 8 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +8
-0+ "MetricGroup": "TopdownL4;tma_L4_group;tma_l1_bound_group", + "MetricName": "tma_other_l1", + "MetricThreshold": "tma_other_l1 > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles the core is stalled dueto a demand load miss which hits in the L2, LLC, DRAM or MMIO (Non-DRAM) but could not be correctly attributed or cycles in which the load miss is waiting on a request buffer.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 618
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "max(0, tma_memory_bound - (tma_store_bound +
tma_l1_bound+tma_l2_bound+tma_l3_bound+tma_dram_bound))",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 619
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_memory_bound_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_other_load_store", + "MetricThreshold": "tma_other_load_store > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of uops retired excluding msand fp div uops.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 627
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "(cpu_atom@TOPDOWN_RETIRING.ALL@ -cpu_atom@UOPS_RETIRED.MS@ - cpu_atom@UOPS_RETIRED.FPDIV@) /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 8 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +8
-0+ "MetricGroup": "TopdownL3;tma_L3_group;tma_base_group", + "MetricName": "tma_other_ret", + "MetricThreshold": "tma_other_ret > 0.3", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of machine clears relative tothe number of nuke slots due to page faults.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 636
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "tma_nuke *(cpu_atom@MACHINE_CLEARS.PAGE_FAULT@ /
cpu_atom@MACHINE_CLEARS.SLOW@)",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 8 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +8
-0+ "MetricGroup": "TopdownL4;tma_L4_group;tma_nuke_group", + "MetricName": "tma_page_fault", + "MetricThreshold": "tma_page_fault > 0.02", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notdelivered by the frontend due to wrong predecodes.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 645
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@TOPDOWN_FE_BOUND.PREDECODE@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 646
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_fetch_bandwidth_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_predecode", + "MetricThreshold": "tma_predecode > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notconsumed by the backend due to the physical register file unable to accept an entry (marble stalls).",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 654
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@TOPDOWN_BE_BOUND.REGISTER@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 655
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_resource_bound_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_register", + "MetricThreshold": "tma_register > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notconsumed by the backend due to the reorder buffer being full (ROB stalls).",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 663
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr":"cpu_atom@TOPDOWN_BE_BOUND.REORDER_BUFFER@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 664
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_resource_bound_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_reorder_buffer", + "MetricThreshold": "tma_reorder_buffer > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the total number of issue slots that werenot consumed by the backend due to backend stalls",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 673
Quoted 2 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +2
-0+ "MetricExpr": "tma_backend_bound", + "MetricGroup":"TopdownL2;tma_L2_group;tma_backend_bound_aux_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 4 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +4
-0+ "MetricName": "tma_resource_bound", + "MetricThreshold": "tma_resource_bound > 0.2", + "MetricgroupNoGroup": "TopdownL2", + "PublicDescription": "Counts the total number of issue slots that werenot consumed by the backend due to backend stalls. Note that uops must be available for consumption in order for this event to count. If a uop is not available (IQ is empty), this event will not count.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that result inretirement slots.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 683
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@TOPDOWN_RETIRING.ALL@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 9 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +9
-0+ "MetricGroup": "TopdownL1;tma_L1_group", + "MetricName": "tma_retiring", + "MetricThreshold": "tma_retiring > 0.75", + "MetricgroupNoGroup": "TopdownL1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles, relative to thenumber of
mem_schedulerslots, in which uops are blocked due to RSV full relative",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 693
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "tma_mem_scheduler *cpu_atom@MEM_SCHEDULER_BLOCK.RSV@ /
MEM_SCHEDULER_BLOCK.ALL",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 694
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL4;tma_L4_group;tma_mem_scheduler_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_rsv", + "MetricThreshold": "tma_rsv > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of issue slots that were notconsumed by the backend due to scoreboards from the instruction queue (IQ), jump execution unit (JEU), or microcode sequencer (MS).",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 702
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@TOPDOWN_BE_BOUND.SERIALIZATION@ /
tma_info_core_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 703
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_resource_bound_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_serialization", + "MetricThreshold": "tma_serialization > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of machine clears relative tothe number of nuke slots due to SMC.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 711
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "tma_nuke * (cpu_atom@MACHINE_CLEARS.SMC@ /cpu_atom@MACHINE_CLEARS.SLOW@)",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 8 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +8
-0+ "MetricGroup": "TopdownL4;tma_L4_group;tma_nuke_group", + "MetricName": "tma_smc", + "MetricThreshold": "tma_smc > 0.02", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles, relative to thenumber of
mem_schedulerslots, in which uops are blocked due to store buffer full",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 721
Quoted 2 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +2
-0+ "MetricExpr": "tma_store_bound", + "MetricGroup":"TopdownL4;tma_L4_group;tma_mem_scheduler_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_st_buffer", + "MetricThreshold": "tma_st_buffer > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles that the oldest load ofthe load buffer is stalled at retirement due to a first level TLB miss.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 729
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@LD_HEAD.DTLB_MISS_AT_RET@ /
tma_info_core_clks",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 8 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +8
-0+ "MetricGroup": "TopdownL4;tma_L4_group;tma_l1_bound_group", + "MetricName": "tma_stlb_hit", + "MetricThreshold": "tma_stlb_hit > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles that the oldest load ofthe load buffer is stalled at retirement due to a second level TLB miss requiring a page walk.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 738
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@LD_HEAD.PGWALK_AT_RET@ /
tma_info_core_clks",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 8 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +8
-0+ "MetricGroup": "TopdownL4;tma_L4_group;tma_l1_bound_group", + "MetricName": "tma_stlb_miss", + "MetricThreshold": "tma_stlb_miss > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles the core is stalled dueto store buffer full.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 747
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "tma_mem_scheduler *(cpu_atom@MEM_SCHEDULER_BLOCK.ST_BUF@ /
cpu_atom@MEM_SCHEDULER_BLOCK.ALL@)",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 748
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL3;tma_L3_group;tma_memory_bound_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_store_bound", + "MetricThreshold": "tma_store_bound > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Counts the number of cycles that the oldest load ofthe load buffer is stalled at retirement due to a store forward block.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 756
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_atom@LD_HEAD.ST_ADDR_AT_RET@ /
tma_info_core_clks",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 9 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +9
-0+ "MetricGroup": "TopdownL4;tma_L4_group;tma_l1_bound_group", + "MetricName": "tma_store_fwd_blk", + "MetricThreshold": "tma_store_fwd_blk > 0.05", + "ScaleUnit": "100%", + "Unit": "cpu_atom" + }, + { + "BriefDescription": "Uncore frequency per die [GHZ]", + "MetricExpr": "tma_info_system_socket_clks / #num_dies /
duration_time/ 1e9",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 6 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +6
-0+ "MetricGroup": "SoC", + "MetricName": "UNCORE_FREQ", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This metric represents Core fraction of cycles CPUdispatched uops on execution ports for ALU operations.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 772
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "(cpu_core@UOPS_DISPATCHED.PORT_0@ +cpu_core@UOPS_DISPATCHED.PORT_1@ + cpu_core@UOPS_DISPATCHED.PORT_5_11@ + cpu_core@UOPS_DISPATCHED.PORT_6@) / (5 *
tma_info_core_core_clks)",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 773
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL5;tma_L5_group;tma_ports_utilized_3m_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 7 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +7
-0+ "MetricName": "tma_alu_op_utilization", + "MetricThreshold": "tma_alu_op_utilization > 0.4", + "ScaleUnit": "100%", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This metric estimates fraction of slots the CPUretired uops delivered by the
Microcode_Sequenceras a result of Assists",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 781
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "78 * [email protected]@ /
tma_info_thread_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 782
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"TopdownL4;tma_L4_group;tma_microcode_sequencer_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 784
Quoted 2 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +2
-0+ "MetricName": "tma_assists", + "MetricThreshold": "tma_assists > 0.1 & (tma_microcode_sequencer >0.05 &
tma_heavy_operations> 0.1)",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 785
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "PublicDescription": "This metric estimates fraction of slots the CPUretired uops delivered by the
Microcode_Sequenceras a result of Assists. Assists are long sequences of uops that are required in certain corner-cases for operations that cannot be handled natively by the execution pipeline. For example; when working with very small floating point values (so-called Denormals); the FP units are not set up to perform these operations natively. Instead; a sequence of instructions to perform the computation on the Denormals is injected into the pipeline. Since these microcode sequences might be dozens of uops long; Assists can be extremely deleterious to performance and they can be avoided in many cases. Sample with:
ASSISTS.ANY",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "ScaleUnit": "100%", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This metric estimates fraction of slots the CPUretired uops as a result of handing SSE to AVX* or AVX* to SSE transition Assists.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 791
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "63 * [email protected]_AVX_MIX@ /
tma_info_thread_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 8 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +8
-0+ "MetricGroup": "HPC;TopdownL5;tma_L5_group;tma_assists_group", + "MetricName": "tma_avx_assists", + "MetricThreshold": "tma_avx_assists > 0.1", + "ScaleUnit": "100%", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This category represents fraction of slots where nouops are being delivered due to a lack of required resources for accepting new uops in the Backend",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 800
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_core@topdown\\-be\\-bound@ /(cpu_core@topdown\\-fe\\-bound@ + cpu_core@topdown\\-bad\\-spec@
+ cpu_core@topdown\\-retiring@ + cpu_core@topdown\\-be\\-bound@) + 0 *tma_info_thread_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "MetricGroup": "TmaL1;TopdownL1;tma_L1_group", + "MetricName": "tma_backend_bound", + "MetricThreshold": "tma_backend_bound > 0.2", + "MetricgroupNoGroup": "TopdownL1", + "PublicDescription": "This category represents fraction of slots whereno uops are being delivered due to a lack of required resources for accepting new uops in the Backend. Backend is the portion of the processor core where the out-of-order scheduler dispatches ready uops into their respective execution units; and once completed these uops get retired according to program order. For example; stalls due to data-cache misses or stalls due to the divider unit being overloaded are both categorized under Backend Bound. Backend Bound is further divided into two main categories: Memory Bound and Core Bound. Sample with: TOPDOWN.BACKEND_BOUND_SLOTS",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "ScaleUnit": "100%", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This category represents fraction of slots wasteddue to incorrect speculations",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 811
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "max(1 - (tma_frontend_bound + tma_backend_bound +
tma_retiring), 0)",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "MetricGroup": "TmaL1;TopdownL1;tma_L1_group", + "MetricName": "tma_bad_speculation", + "MetricThreshold": "tma_bad_speculation > 0.15", + "MetricgroupNoGroup": "TopdownL1", + "PublicDescription": "This category represents fraction of slots wasteddue to incorrect speculations. This include slots used to issue uops that do not eventually get retired and slots for which the issue-pipeline was blocked due to recovery from earlier incorrect speculation. For example; wasted work due to miss-predicted branches are categorized under Bad Speculation category. Incorrect data speculation followed by Memory Ordering Nukes is another example.",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "ScaleUnit": "100%", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This metric represents fraction of slots the CPU haswasted due to Branch Misprediction",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 822
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_core@topdown\\-br\\-mispredict@ /(cpu_core@topdown\\-fe\\-bound@ + cpu_core@topdown\\-bad\\-spec@
+ cpu_core@topdown\\-retiring@ + cpu_core@topdown\\-be\\-bound@) + 0 *tma_info_thread_slots",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 823
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"BadSpec;BrMispredicts;TmaL2;TopdownL2;tma_L2_group;tma_bad_specula tion_group;tma_issueBM",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 825
Quoted 2 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +2
-0+ "MetricName": "tma_branch_mispredicts", + "MetricThreshold": "tma_branch_mispredicts > 0.1 &
tma_bad_speculation> 0.15",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 827
Quoted 2 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +2
-0+ "MetricgroupNoGroup": "TopdownL2", + "PublicDescription": "This metric represents fraction of slots the CPUhas wasted due to Branch Misprediction. These slots are either wasted by uops fetched from an incorrectly speculated program path; or stalls when the out-of-order part of the machine needs to recover its state from a speculative path. Sample with: TOPDOWN.BR_MISPREDICT_SLOTS. Related metrics:
tma_info_bad_spec_branch_misprediction_cost,tma_info_bottleneck_mispredictions,tma_mispredicts_resteers",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "ScaleUnit": "100%", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This metric represents fraction of cycles the CPUwas stalled due to Branch Resteers",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 833
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_core@INT_MISC.CLEAR_RESTEER_CYCLES@ /
tma_info_thread_clks+tma_unknown_branches",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 834
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"FetchLat;TopdownL3;tma_L3_group;tma_fetch_latency_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 836
Quoted 2 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +2
-0+ "MetricName": "tma_branch_resteers", + "MetricThreshold": "tma_branch_resteers > 0.05 &(
tma_fetch_latency> 0.1 &tma_frontend_bound> 0.15)",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 837
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "PublicDescription": "This metric represents fraction of cycles the CPUwas stalled due to Branch Resteers. Branch Resteers estimates the Frontend delay in fetching operations from corrected path; following all sorts of miss- predicted branches. For example; branchy code with lots of miss-predictions might get categorized under Branch Resteers. Note the value of this node may overlap with its siblings. Sample with: BR_MISP_RETIRED.ALL_BRANCHES",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "ScaleUnit": "100%", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This metric represents fraction of cycles the CPUwas stalled due staying in C0.1 power-performance optimized state (Faster wakeup time; Smaller power savings).",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 843
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_core@CPU_CLK_UNHALTED.C01@ /
tma_info_thread_clks",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 844
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"C0Wait;TopdownL4;tma_L4_group;tma_serializing_operation_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 846
Quoted 2 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +2
-0+ "MetricName": "tma_c01_wait", + "MetricThreshold": "tma_c01_wait > 0.05 &(
tma_serializing_operation> 0.1 & (tma_core_bound> 0.1 &tma_backend_bound> 0.2))",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "ScaleUnit": "100%", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This metric represents fraction of cycles the CPUwas stalled due staying in C0.2 power-performance optimized state (Slower wakeup time; Larger power savings).",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 852
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "cpu_core@CPU_CLK_UNHALTED.C02@ /
tma_info_thread_clks",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 853
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"C0Wait;TopdownL4;tma_L4_group;tma_serializing_operation_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 855
Quoted 2 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +2
-0+ "MetricName": "tma_c02_wait", + "MetricThreshold": "tma_c02_wait > 0.05 &(
tma_serializing_operation> 0.1 & (tma_core_bound> 0.1 &tma_backend_bound> 0.2))",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "ScaleUnit": "100%", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This metric estimates fraction of cycles the CPUretired uops originated from CISC (complex instruction set computer) instruction",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 862
Quoted 2 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +2
-0+ "MetricExpr": "max(0, tma_microcode_sequencer - tma_assists)", + "MetricGroup":"TopdownL4;tma_L4_group;tma_microcode_sequencer_group",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 864
Quoted 2 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +2
-0+ "MetricName": "tma_cisc", + "MetricThreshold": "tma_cisc > 0.1 & (tma_microcode_sequencer >0.05 &
tma_heavy_operations> 0.1)",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 865
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "PublicDescription": "This metric estimates fraction of cycles the CPUretired uops originated from CISC (complex instruction set computer) instruction. A CISC instruction has multiple uops that are required to perform the instruction's functionality as in the case of read-modify-write as an example. Since these instructions require multiple uops they may or may not imply sub-optimal use of machine resources. Sample with:
FRONTEND_RETIRED.MS_FLOWS",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "ScaleUnit": "100%", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This metric represents fraction of cycles the CPUwas stalled due to Branch Resteers as a result of Machine Clears",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 871
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr": "(1 - tma_branch_mispredicts / tma_bad_speculation) *cpu_core@INT_MISC.CLEAR_RESTEER_CYCLES@ /
tma_info_thread_clks",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 872
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricGroup":"BadSpec;MachineClears;TopdownL4;tma_L4_group;tma_branch_resteers_gr oup;tma_issueMC",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 874
Quoted 2 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +2
-0+ "MetricName": "tma_clears_resteers", + "MetricThreshold": "tma_clears_resteers > 0.05 &(
tma_branch_resteers> 0.05 & (tma_fetch_latency> 0.1 &tma_frontend_bound> 0.15))",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 875
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "PublicDescription": "This metric represents fraction of cycles the CPUwas stalled due to Branch Resteers as a result of Machine Clears. Sample with:
INT_MISC.CLEAR_RESTEER_CYCLES. Related metrics:tma_l1_bound,tma_machine_clears,tma_microcode_sequencer,tma_ms_switches",tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json
Quoted 5 lines
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +5
-0+ "ScaleUnit": "100%", + "Unit": "cpu_core" + }, + { + "BriefDescription": "This metric estimates fraction of cycles while thememory subsystem was handling synchronizations due to contested accesses",
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json line 881
Quoted 1 line
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json new file +1
-0+ "MetricExpr":"(cpu_core@MEM_LOAD_L3_HIT_RETIRED.XSNP_MISS@ *
min(cpu_core@MEM_LOAD_L3_HIT_RETIRED.XSNP_MISS@:retire_latency, 24 * tma_info_system_core_frequency)+ cpu_core@MEM_LOAD_L3_HIT_RETIRED.XSNP_FWD@ * min(cpu_core@MEM_LOAD_L3_HIT_RETIRED.XSNP_FWD@:retire_latency, 25
*tma_info_system_core_frequency) * ([email protected]_DATA_RD.L3_HIT.SNOOP_HITM@ / ([email protected]_DATA_RD.L3_HIT.SNOOP_HITM@ + [email protected]_DATA_RD.L3_HIT.SNOOP_HIT_WITH_FWD@))) * (1
+ cpu_core@MEM_LOAD_RETIRED.FB_HIT@ / cpu_core@MEM_LOAD_RETIRED.L1_MISS@ / 2) /tma_info_thread_clks",Quoted 5 lines
Thanks Weilin! The modifier on an event doesn't usually have the colon when there is a slash. So:
cpu_core@MEM_LOAD_L3_HIT_RETIRED.XSNP_FWD@:retire_latency Should be:
cpu_core@MEM_LOAD_L3_HIT_RETIRED.XSNP_FWD@retire_latency
Quoted 7 lines
Thanks Ian! I will update this accordingly.
Quoted 3 lines
The modifiers also tend to be a single character. The modifier 'R' is unused, so I wonder we can use it here so that we can support these events not just in metrics.
Do you mean we use 'R' instead of "
retire_latency" in all the formulas? I could do this Update.
I think 'R' is more consistent with all the other event modifiers, but I also like that your name is intention revealing. I think as we work this into a more architecture neutral thing it is likely we'll want retirement latency to just be like an event, in which case the modifier could be combined with other modifiers. So MEM_LOAD_L3_HIT_RETIRED.XSNP_FWD:uR could mean the MEM_LOAD_L3_HIT_RETIRED.XSNP_FWD event with retirement latency only sampled in user land. Somebody may have a different preference on which letter, but R doesn't look unreasonable to me.
Thanks,
Ian
Quoted 3 lines
Quoted 2 lines
Ian