diff options
Diffstat (limited to 'arch/null/client_plots.h')
| -rw-r--r-- | arch/null/client_plots.h | 32 |
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 = {}; |
