HEBench
|
#include <hebench_utilities_harness.h>
Public Member Functions | |
TimingReportEx (const std::string &header=std::string()) | |
~TimingReportEx () override | |
template<class TimeInterval > | |
void | addEvent (hebench::Common::TimingReportEvent::Ptr p_event) |
template<class TimeInterval > | |
void | addEvent (hebench::Common::TimingReportEvent::Ptr p_event, const std::string &event_type_name) |
void | addEvent (const TimingReportEventC &p_event) |
Public Member Functions inherited from hebench::ReportGen::cpp::TimingReport | |
TimingReport (const TimingReport &)=delete | |
TimingReport (const std::string &header=std::string()) | |
TimingReport (TimingReport &&) | |
virtual | ~TimingReport () |
TimingReport & | operator= (TimingReport &&) |
void | setHeader (const std::string &new_header) |
void | appendHeader (const std::string &new_header, bool new_line=true) |
void | prependHeader (const std::string &new_header, bool new_line=true) |
std::string | getHeader () const |
void | setFooter (const std::string &new_footer) |
void | appendFooter (const std::string &new_header, bool new_line=true) |
void | prependFooter (const std::string &new_header, bool new_line=true) |
std::string | getFooter () const |
void | addEventType (uint32_t event_type_id, const std::string &event_type_header, bool is_main_event=false) |
Adds a new event type to the types of events. More... | |
bool | hasEventType (uint32_t event_type_id) const |
std::string | getEventTypeHeader (uint32_t event_type_id) const |
uint64_t | getEventTypeCount () const |
uint32_t | getEventType (uint64_t index) const |
Retrieve an event type ID. More... | |
uint32_t | getMainEventType () const |
void | addEvent (const TimingReportEventC &p_event) |
void | getEvent (TimingReportEventC &p_event, uint64_t index) const |
uint64_t | getEventCount () const |
uint64_t | getEventCapacity () const |
void | setEventCapacity (uint64_t new_capacity) |
void | clear () |
void | save2CSV (const std::string &filename) |
std::string | convert2CSV () |
Static Public Member Functions | |
template<class TimeInterval > | |
static hebench::ReportGen::TimingReportEventC | convert2C (const hebench::Common::TimingReportEvent &timing_event) |
Static Public Member Functions inherited from hebench::ReportGen::cpp::TimingReport | |
static TimingReport | loadReportFromCSV (const std::string &s_csv_content) |
static TimingReport | loadReportFromCSVFile (const std::string &filename) |
template<class TimeInterval = std::ratio<1, 1>> | |
static double | computeElapsedWallTime (const TimingReportEventC &event) |
template<class TimeInterval = std::ratio<1, 1>> | |
static double | computeElapsedCPUTime (const TimingReportEventC &event) |
Definition at line 93 of file hebench_utilities_harness.h.
|
inline |
Definition at line 99 of file hebench_utilities_harness.h.
|
inlineoverride |
Definition at line 101 of file hebench_utilities_harness.h.
void hebench::ReportGen::cpp::TimingReport::addEvent |
Definition at line 196 of file hebench_report_cpp.cpp.
|
inline |
Definition at line 49 of file hebench_utilities_harness.inl.
|
inline |
Definition at line 55 of file hebench_utilities_harness.inl.
|
inlinestatic |
Definition at line 74 of file hebench_utilities_harness.inl.