#include <hebench_report_cpp.h>
Definition at line 138 of file hebench_report_cpp.h.
◆ TimingReport() [1/3]
hebench::ReportGen::cpp::TimingReport::TimingReport |
( |
const TimingReport & |
| ) |
|
|
delete |
◆ TimingReport() [2/3]
hebench::ReportGen::cpp::TimingReport::TimingReport |
( |
const std::string & |
header = std::string() | ) |
|
◆ TimingReport() [3/3]
hebench::ReportGen::cpp::TimingReport::TimingReport |
( |
TimingReport && |
src | ) |
|
◆ ~TimingReport()
hebench::ReportGen::cpp::TimingReport::~TimingReport |
( |
| ) |
|
|
virtual |
◆ addEvent()
void hebench::ReportGen::cpp::TimingReport::addEvent |
( |
const TimingReportEventC & |
p_event | ) |
|
◆ addEventType()
void hebench::ReportGen::cpp::TimingReport::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.
- Parameters
-
event_type_id | |
event_type_header | |
is_main_event | |
event type: groups a collection of events under the same type.
If an event of the same type already exists the following will happen:
- This method will overwrite the existing event header.
- If
is_main_event
is true, the existing event type will be set as the main event. Otherwise, event type status as main event remains unchanged.
Definition at line 168 of file hebench_report_cpp.cpp.
◆ appendFooter()
void hebench::ReportGen::cpp::TimingReport::appendFooter |
( |
const std::string & |
new_header, |
|
|
bool |
new_line = true |
|
) |
| |
◆ appendHeader()
void hebench::ReportGen::cpp::TimingReport::appendHeader |
( |
const std::string & |
new_header, |
|
|
bool |
new_line = true |
|
) |
| |
◆ clear()
void hebench::ReportGen::cpp::TimingReport::clear |
( |
| ) |
|
◆ computeElapsedCPUTime()
template<class TimeInterval >
double hebench::ReportGen::cpp::TimingReport::computeElapsedCPUTime |
( |
const TimingReportEventC & |
event | ) |
|
|
static |
◆ computeElapsedWallTime()
template<class TimeInterval >
double hebench::ReportGen::cpp::TimingReport::computeElapsedWallTime |
( |
const TimingReportEventC & |
event | ) |
|
|
static |
◆ convert2CSV()
std::string hebench::ReportGen::cpp::TimingReport::convert2CSV |
( |
| ) |
|
◆ getEvent()
void hebench::ReportGen::cpp::TimingReport::getEvent |
( |
TimingReportEventC & |
p_event, |
|
|
uint64_t |
index |
|
) |
| const |
◆ getEventCapacity()
uint64_t hebench::ReportGen::cpp::TimingReport::getEventCapacity |
( |
| ) |
const |
◆ getEventCount()
uint64_t hebench::ReportGen::cpp::TimingReport::getEventCount |
( |
| ) |
const |
◆ getEventType()
uint32_t hebench::ReportGen::cpp::TimingReport::getEventType |
( |
uint64_t |
index | ) |
const |
Retrieve an event type ID.
- Parameters
-
- Returns
- ID of the event type corresponding to the specified index.
- Exceptions
-
Instance | of std::except on error. |
Definition at line 209 of file hebench_report_cpp.cpp.
◆ getEventTypeCount()
uint64_t hebench::ReportGen::cpp::TimingReport::getEventTypeCount |
( |
| ) |
const |
◆ getEventTypeHeader()
std::string hebench::ReportGen::cpp::TimingReport::getEventTypeHeader |
( |
uint32_t |
event_type_id | ) |
const |
◆ getFooter()
std::string hebench::ReportGen::cpp::TimingReport::getFooter |
( |
| ) |
const |
◆ getHeader()
std::string hebench::ReportGen::cpp::TimingReport::getHeader |
( |
| ) |
const |
◆ getMainEventType()
uint32_t hebench::ReportGen::cpp::TimingReport::getMainEventType |
( |
| ) |
const |
◆ hasEventType()
bool hebench::ReportGen::cpp::TimingReport::hasEventType |
( |
uint32_t |
event_type_id | ) |
const |
◆ loadReportFromCSV()
TimingReport hebench::ReportGen::cpp::TimingReport::loadReportFromCSV |
( |
const std::string & |
s_csv_content | ) |
|
|
static |
◆ loadReportFromCSVFile()
TimingReport hebench::ReportGen::cpp::TimingReport::loadReportFromCSVFile |
( |
const std::string & |
filename | ) |
|
|
static |
◆ operator=()
◆ prependFooter()
void hebench::ReportGen::cpp::TimingReport::prependFooter |
( |
const std::string & |
new_header, |
|
|
bool |
new_line = true |
|
) |
| |
◆ prependHeader()
void hebench::ReportGen::cpp::TimingReport::prependHeader |
( |
const std::string & |
new_header, |
|
|
bool |
new_line = true |
|
) |
| |
◆ save2CSV()
void hebench::ReportGen::cpp::TimingReport::save2CSV |
( |
const std::string & |
filename | ) |
|
◆ setEventCapacity()
void hebench::ReportGen::cpp::TimingReport::setEventCapacity |
( |
uint64_t |
new_capacity | ) |
|
◆ setFooter()
void hebench::ReportGen::cpp::TimingReport::setFooter |
( |
const std::string & |
new_footer | ) |
|
◆ setHeader()
void hebench::ReportGen::cpp::TimingReport::setHeader |
( |
const std::string & |
new_header | ) |
|
◆ ReportSummary
friend class ReportSummary |
|
friend |
The documentation for this class was generated from the following files: