3#ifndef SRC_EXTERNAL_INTERFACES_SS_PAPI_HPP
4#define SRC_EXTERNAL_INTERFACES_SS_PAPI_HPP
7#include <unordered_map>
19 unsigned long long timestamp;
28 std::vector<Metric> entries;
48 int SS_PAPI_start(
int eventSet, Relation **metrics);
60 int SS_PAPI_reset(Relation *metrics);
76 int SS_PAPI_read(Relation *metrics, Component *root,
bool permanent =
false,
77 unsigned long long *timestamp =
nullptr);
93 int SS_PAPI_accum(Relation *metrics, Component *root,
bool permanent =
false,
94 unsigned long long *timestamp =
nullptr);
110 int SS_PAPI_stop(Relation *metrics, Component *root,
bool permanent =
false,
111 unsigned long long *timestamp =
nullptr);
118std::ostream &operator<<(std::ostream &stream,
const sys_sage::Metric &metric);