LightsprintSDK 2021.08.08
|
#include <RRDebug.h>
Public Member Functions | |
RRReportInterval (RRReportType type, const char *format,...) | |
~RRReportInterval () | |
Protected Attributes | |
bool | enabled |
RRTime | time |
Reporting events with time taken.
Helper for reporting event with automatic indented subevents, reported duration. Simply create instance of RRReportInterval to report event. When instance dies, end of event is reported automatically.
rr::RRReportInterval::RRReportInterval | ( | RRReportType | type, |
const char * | format, | ||
... | |||
) |
Reports information and increases indentation.
rr::RRReportInterval::~RRReportInterval | ( | ) |
Reports time elapsed since constructor call and decreases indentation.
|
protected |
|
protected |