From 1961b4b237083f4cfac9ca6b249c1d6cb665d149 Mon Sep 17 00:00:00 2001 From: Paul Oliver Date: Tue, 14 Jul 2026 17:29:02 +0200 Subject: Initial (refactor) --- arch/null/client_plots.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 arch/null/client_plots.h (limited to 'arch/null/client_plots.h') diff --git a/arch/null/client_plots.h b/arch/null/client_plots.h new file mode 100644 index 0000000..72cd052 --- /dev/null +++ b/arch/null/client_plots.h @@ -0,0 +1,32 @@ +// file : arch/null/client_plots.h +// project : Salis-VM +// author : Paul Oliver + +#pragma once + +static std::array g_arch_traces = std::to_array>({ +#define FOR_CORE(i) \ + {"null_0_pop_" #i, "null_0_pop_" #i}, \ + {"null_1_pop_" #i, "null_1_pop_" #i}, \ + {"null_2_pop_" #i, "null_2_pop_" #i}, \ + {"null_3_pop_" #i, "null_3_pop_" #i}, + FOR_CORES +#undef FOR_CORE +}); + +static std::array, 0> g_arch_traces_heatmaps = {}; +static std::array g_arch_plots = {}; + +static std::array g_arch_plots_stacked = std::to_array({ +#define FOR_CORE(i) \ + {"ipop%_" #i, "population", { \ + "null_0_pop_" #i, \ + "null_1_pop_" #i, \ + "null_2_pop_" #i, \ + "null_3_pop_" #i, \ + }}, + FOR_CORES +#undef FOR_CORE +}); + +static std::array g_arch_plots_heatmaps = {}; -- cgit v1.2.1