summaryrefslogtreecommitdiff
path: root/arch/null/client_plots.h
diff options
context:
space:
mode:
authorPaul Oliver <contact@pauloliver.dev>2026-07-14 17:29:02 +0200
committerPaul Oliver <contact@pauloliver.dev>2026-08-30 16:24:48 +0200
commit1961b4b237083f4cfac9ca6b249c1d6cb665d149 (patch)
treefd9fc8260360e2ac30be9747ca558bcfc824a4c4 /arch/null/client_plots.h
Initial (refactor)HEADmaster
Diffstat (limited to 'arch/null/client_plots.h')
-rw-r--r--arch/null/client_plots.h32
1 files changed, 32 insertions, 0 deletions
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 <contact@pauloliver.dev>
+
+#pragma once
+
+static std::array g_arch_traces = std::to_array<TraceNamed<ImS64>>({
+#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<TraceHeatmap<ImS64>, 0> g_arch_traces_heatmaps = {};
+static std::array<PlotLines, 0> g_arch_plots = {};
+
+static std::array g_arch_plots_stacked = std::to_array<PlotStacked>({
+#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<PlotHeatmap, 0> g_arch_plots_heatmaps = {};