summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRay Kinsella <mdr@ashroe.eu>2021-11-15 06:48:50 +0000
committerDamjan Marion <dmarion@me.com>2021-11-15 12:41:14 +0000
commite75084025ac967c45af3d4f485a0399b0718c8ec (patch)
treeeb2cc49b57e3434aeefc455dba74916dac3d3e45 /src
parent50bd1d3e256154212198a31932896b07af5b129f (diff)
perfmon: rename bundle to memory stalls
Rename the memory bandwidth bundle to memory stalls, to differentiate it from the bundle that measures memory controller bandwidth boundedness. Type: refactor Signed-off-by: Ray Kinsella <mdr@ashroe.eu> Change-Id: I828c73b6f769046e1ab592712bdf81ceefcd7911
Diffstat (limited to 'src')
-rw-r--r--src/plugins/perfmon/CMakeLists.txt2
-rw-r--r--src/plugins/perfmon/intel/bundle/memory_stalls.c (renamed from src/plugins/perfmon/intel/bundle/membw_bound.c)16
2 files changed, 9 insertions, 9 deletions
diff --git a/src/plugins/perfmon/CMakeLists.txt b/src/plugins/perfmon/CMakeLists.txt
index 73598cf11a7..44be59ef539 100644
--- a/src/plugins/perfmon/CMakeLists.txt
+++ b/src/plugins/perfmon/CMakeLists.txt
@@ -23,7 +23,7 @@ add_vpp_plugin(perfmon
perfmon.c
intel/core.c
intel/uncore.c
- intel/bundle/membw_bound.c
+ intel/bundle/memory_stalls.c
intel/bundle/inst_and_clock.c
intel/bundle/load_blocks.c
intel/bundle/mem_bw.c
diff --git a/src/plugins/perfmon/intel/bundle/membw_bound.c b/src/plugins/perfmon/intel/bundle/memory_stalls.c
index 2e4b4aa57bb..3de3a615732 100644
--- a/src/plugins/perfmon/intel/bundle/membw_bound.c
+++ b/src/plugins/perfmon/intel/bundle/memory_stalls.c
@@ -17,7 +17,7 @@
#include <perfmon/intel/core.h>
static u8 *
-format_intel_membw_bound (u8 *s, va_list *args)
+format_intel_memory_stalls (u8 *s, va_list *args)
{
perfmon_node_stats_t *ss = va_arg (*args, perfmon_node_stats_t *);
int row = va_arg (*args, int);
@@ -33,13 +33,13 @@ format_intel_membw_bound (u8 *s, va_list *args)
return s;
}
-static perfmon_cpu_supports_t membw_bound_cpu_supports[] = {
+static perfmon_cpu_supports_t memory_stalls_cpu_supports[] = {
{ clib_cpu_supports_avx512_bitalg, PERFMON_BUNDLE_TYPE_NODE },
};
-PERFMON_REGISTER_BUNDLE (intel_core_membw_bound) = {
- .name = "membw-bound",
- .description = "memory bandwidth boundedness",
+PERFMON_REGISTER_BUNDLE (intel_core_memory_stalls) = {
+ .name = "memory-stalls",
+ .description = "cycles not retiring instructions due to memory stalls",
.source = "intel-core",
.events[0] = INTEL_CORE_E_CPU_CLK_UNHALTED_THREAD_P, /* FIXED */
.events[1] = INTEL_CORE_E_CYCLE_ACTIVITY_CYCLES_NO_EXECUTE, /*CMask: 0xFF*/
@@ -49,9 +49,9 @@ PERFMON_REGISTER_BUNDLE (intel_core_membw_bound) = {
.events[5] = INTEL_CORE_E_CYCLE_ACTIVITY_STALLS_L3_MISS, /*CMask: 0xF*/
.events[6] = INTEL_CORE_E_SQ_MISC_SQ_FULL, /*CMask: 0xF*/
.n_events = 7,
- .format_fn = format_intel_membw_bound,
- .cpu_supports = membw_bound_cpu_supports,
- .n_cpu_supports = ARRAY_LEN (membw_bound_cpu_supports),
+ .format_fn = format_intel_memory_stalls,
+ .cpu_supports = memory_stalls_cpu_supports,
+ .n_cpu_supports = ARRAY_LEN (memory_stalls_cpu_supports),
.column_headers = PERFMON_STRINGS ("Cycles/Packet", "Cycles Stall/Packet",
"Mem Stall/Packet",
"L1D Miss Stall/Packet", "FB Full/Packet",