HEBench
hebench_report.h File Reference
#include <stdint.h>
#include "hebench_report_types.h"
Include dependency graph for hebench_report.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 hebench
 
 hebench::ReportGen
 

Functions

void * hebench::ReportGen::allocateReport ()
 
void hebench::ReportGen::freeReport (void *p_report)
 
int32_t hebench::ReportGen::setReportHeader (void *p_report, const char *new_header)
 
int32_t hebench::ReportGen::appendReportHeader (void *p_report, const char *new_header, int32_t new_line)
 Appends text to existing header. More...
 
int32_t hebench::ReportGen::prependReportHeader (void *p_report, const char *new_header, int32_t new_line)
 Prepends text to existing header. More...
 
uint64_t hebench::ReportGen::getReportHeader (void *p_report, char *header, uint64_t size)
 
int32_t hebench::ReportGen::setReportFooter (void *p_report, const char *new_footer)
 
int32_t hebench::ReportGen::appendReportFooter (void *p_report, const char *new_footer, int32_t new_line)
 Appends text to existing footer. More...
 
int32_t hebench::ReportGen::prependReportFooter (void *p_report, const char *new_footer, int32_t new_line)
 Prepends text to existing footer. More...
 
uint64_t hebench::ReportGen::getReportFooter (void *p_report, char *footer, uint64_t size)
 
int32_t hebench::ReportGen::addEventType (void *p_report, uint32_t event_type_id, const char *event_type_header)
 addEventType More...
 
int32_t hebench::ReportGen::addMainEventType (void *p_report, uint32_t event_type_id, const char *event_type_header)
 Adds an event type and marks it as the main event. More...
 
int32_t hebench::ReportGen::hasEventType (void *p_report, uint32_t event_type_id)
 hasEventType More...
 
uint64_t hebench::ReportGen::getEventTypeHeader (void *p_report, uint32_t event_type_id, char *event_type_header, uint64_t size)
 
uint64_t hebench::ReportGen::getEventTypeCount (void *p_report)
 
uint32_t hebench::ReportGen::getEventType (void *p_report, uint64_t index)
 Retrieve an event type ID. More...
 
int32_t hebench::ReportGen::getMainEventType (void *p_report, uint32_t *p_event_type_id)
 getMainEventType More...
 
int32_t hebench::ReportGen::addEvent (void *p_report, const TimingReportEventC *p_event)
 addEvent More...
 
int32_t hebench::ReportGen::getEvent (void *p_report, TimingReportEventC *p_event, uint64_t index)
 getEvent More...
 
uint64_t hebench::ReportGen::getEventCount (void *p_report)
 
uint64_t hebench::ReportGen::getEventCapacity (void *p_report)
 
int32_t hebench::ReportGen::setEventCapacity (void *p_report, uint64_t new_capacity)
 setEventCapacity More...
 
int32_t hebench::ReportGen::clearEvents (void *p_report)
 
int32_t hebench::ReportGen::save2CSV (void *p_report, const char *filename)
 
int32_t hebench::ReportGen::convert2CSV (void *p_report, char **pp_csv_content)
 convert2CSV More...
 
void hebench::ReportGen::freeCSVContent (char *p_csv_content)
 Releases resources allocated by functions that generate CSV formatted reports from a timing report. More...
 
void * hebench::ReportGen::loadReportFromCSV (const char *p_csv_content, char error_description[MAX_DESCRIPTION_BUFFER_SIZE])
 
void * hebench::ReportGen::loadReportFromCSVFile (const char *filename, char error_description[MAX_DESCRIPTION_BUFFER_SIZE])
 
int32_t hebench::ReportGen::setTimingPrefix (TimingPrefixedSeconds *p_prefix, double seconds, char prefix)
 Computes the value for the time unit based on a specified prefix. More...
 
int32_t hebench::ReportGen::computeTimingPrefix (TimingPrefixedSeconds *p_prefix, double seconds)
 Retrieves the prefix for the time unit. More...