summaryrefslogtreecommitdiff
path: root/arch/null/client_plots.h
blob: 72cd052545f641d9169202f6504e3be1e5b6bb0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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 = {};