15 #include <unordered_map> 27 typedef std::unordered_map<int, std::vector<std::string> > FileMapType;
28 FileMapType L3OCC, MBL, MBT;
30 size_t getMetric(
const FileMapType & fileMap,
int core);
31 static constexpr
auto PCMPath =
"/sys/fs/resctrl/mon_groups/pcm";
33 Resctrl(PCM & m) : pcm(m) {}
36 size_t getL3OCC(
int core);
37 size_t getMBL(
int core);
38 size_t getMBT(
int core);