5 #ifndef _HEBench_ReportStats_H_0596d40a3cce4b108a81595c50eb286d
6 #define _HEBench_ReportStats_H_0596d40a3cce4b108a81595c50eb286d
13 #include <unordered_map>
93 const std::string &
getHeader()
const {
return m_header; }
94 const std::string &
getFooter()
const {
return m_footer; }
108 void generateCSV(std::ostream &os,
char ch_prefix);
133 std::string m_header;
134 std::string m_footer;
135 std::size_t m_main_event_type_id;
136 std::unordered_map<std::uint32_t, std::size_t> m_event_types_2_stat_idx;
137 std::vector<std::shared_ptr<ReportEventTypeStats>> m_event_stats;
std::uint64_t getMainEventTypeStatsIndex() const
const std::string & getFooter() const
const ReportEventTypeStats & getEventTypeStats(std::uint64_t index) const
std::uint64_t getEventTypeCount() const
void generateCSV(std::ostream &os, char ch_prefix)
Generates complete CSV stats for this report.
std::uint32_t getMainEventTypeID() const
const ReportEventTypeStats & getEventTypeStatsByID(std::uint32_t id) const
void generateSummaryCSV(std::ostream &os, char ch_prefix)
Generates summary CSV for this report.
const std::string & getHeader() const
const ReportEventTypeStats & getMainEventTypeStats() const
ReportStats(const cpp::TimingReport &report)
double wall_time_variance
std::string name
Event name.
double wall_time_ave_trim
uint64_t input_sample_count
Number of input samples used.
double cpu_time_variance_trim
double wall_time_variance_trim
uint64_t input_sample_count
uint32_t event_id
ID specifying the event type.
double samples_per_unit_trim