Go to the documentation of this file.
34 std::vector<std::string> elements = {
35 "name",
"iterations",
"real_time",
"cpu_time",
36 "time_unit",
"bytes_per_second",
"items_per_second",
"label",
37 "error_occurred",
"error_message"};
50 for (
const auto& run : reports) {
51 for (
const auto& cnt : run.counters) {
57 for (
auto B = elements.begin(); B != elements.end();) {
59 if (B != elements.end()) Out <<
",";
62 Out <<
",\"" << *B++ <<
"\"";
69 for (
const auto& run : reports) {
70 for (
const auto& cnt : run.counters) {
72 <<
"All counters must be present in each run. "
73 <<
"Counter named \"" << cnt.first
74 <<
"\" was not in a run after being added to the header";
80 for (
const auto& run : reports) {
93 Out <<
'"' <<
name <<
"\",";
99 Out <<
'"' << msg <<
"\"\n";
133 Out <<
"\"" <<
label <<
"\"";
143 Out <<
"," <<
it->second;
std::ostream & GetErrorStream() const
GLuint const GLchar * name
GLuint GLsizei const GLchar * label
virtual bool ReportContext(const Context &context)
GLsizei const GLchar *const * string
double GetAdjustedCPUTime() const
static void PrintBasicContext(std::ostream *out, Context const &context)
void ReplaceAll(std::string *str, const std::string &from, const std::string &to)
std::string error_message
std::string benchmark_name
const char * GetTimeUnitString(TimeUnit unit)
std::string GetBigOString(BigO complexity)
double GetAdjustedRealTime() const
std::set< std::string > user_counter_names_
std::ostream & GetOutputStream() const
void PrintRunData(const Run &report)
virtual void ReportRuns(const std::vector< Run > &reports)
libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:49