Go to the documentation of this file.
14 {
"^Benchmark %s Time %s CPU %s Iterations$",
MR_Next},
30 {
"\"iterations\": %int,$",
MR_Next},
31 {
"\"real_time\": %int,$",
MR_Next},
32 {
"\"cpu_time\": %int,$",
MR_Next},
33 {
"\"time_unit\": \"ns\"$",
MR_Next},
49 {{
"^BM_bytes_per_second %console_report +%floatB/s$"}});
51 {
"\"iterations\": %int,$",
MR_Next},
52 {
"\"real_time\": %int,$",
MR_Next},
53 {
"\"cpu_time\": %int,$",
MR_Next},
54 {
"\"time_unit\": \"ns\",$",
MR_Next},
55 {
"\"bytes_per_second\": %int$",
MR_Next},
71 {{
"^BM_items_per_second %console_report +%float items/s$"}});
73 {
"\"iterations\": %int,$",
MR_Next},
74 {
"\"real_time\": %int,$",
MR_Next},
75 {
"\"cpu_time\": %int,$",
MR_Next},
76 {
"\"time_unit\": \"ns\",$",
MR_Next},
77 {
"\"items_per_second\": %int$",
MR_Next},
94 {
"\"iterations\": %int,$",
MR_Next},
95 {
"\"real_time\": %int,$",
MR_Next},
96 {
"\"cpu_time\": %int,$",
MR_Next},
97 {
"\"time_unit\": \"ns\",$",
MR_Next},
98 {
"\"label\": \"some label\"$",
MR_Next},
101 "label\"%csv_label_report_end$"}});
115 {
"\"error_occurred\": true,$",
MR_Next},
116 {
"\"error_message\": \"message\",$",
MR_Next}});
118 ADD_CASES(
TC_CSVOut, {{
"^\"BM_error\",,,,,,,,true,\"message\"$"}});
157 {{
"^BM_arg_names/first:2/5/third:4 %console_report$"}});
172 {
"%RMS",
"[ ]*[0-9]+ %"}});
174 {
"^BM_Complexity_O1_RMS %RMS %RMS[ ]*$"}});
187 {
"^BM_Repeat/repeats:3 %console_report$"},
188 {
"^BM_Repeat/repeats:3 %console_report$"},
189 {
"^BM_Repeat/repeats:3_mean %console_report$"},
190 {
"^BM_Repeat/repeats:3_stddev %console_report$"}});
192 {
"\"name\": \"BM_Repeat/repeats:3\",$"},
193 {
"\"name\": \"BM_Repeat/repeats:3\",$"},
194 {
"\"name\": \"BM_Repeat/repeats:3_mean\",$"},
195 {
"\"name\": \"BM_Repeat/repeats:3_stddev\",$"}});
197 {
"^\"BM_Repeat/repeats:3\",%csv_report$"},
198 {
"^\"BM_Repeat/repeats:3\",%csv_report$"},
199 {
"^\"BM_Repeat/repeats:3_mean\",%csv_report$"},
200 {
"^\"BM_Repeat/repeats:3_stddev\",%csv_report$"}});
220 {{
".*BM_SummaryRepeat/repeats:3 ",
MR_Not},
221 {
"^BM_SummaryRepeat/repeats:3_mean %console_report$"},
222 {
"^BM_SummaryRepeat/repeats:3_stddev %console_report$"}});
224 {
"\"name\": \"BM_SummaryRepeat/repeats:3_mean\",$"},
225 {
"\"name\": \"BM_SummaryRepeat/repeats:3_stddev\",$"}});
227 {
"^\"BM_SummaryRepeat/repeats:3_mean\",%csv_report$"},
228 {
"^\"BM_SummaryRepeat/repeats:3_stddev\",%csv_report$"}});
236 ->ReportAggregatesOnly()
239 {{
".*BM_RepeatTimeUnit/repeats:3 ",
MR_Not},
240 {
"^BM_RepeatTimeUnit/repeats:3_mean %console_us_report$"},
241 {
"^BM_RepeatTimeUnit/repeats:3_stddev %console_us_report$"}});
243 {
"\"name\": \"BM_RepeatTimeUnit/repeats:3_mean\",$"},
244 {
"\"time_unit\": \"us\",?$"},
245 {
"\"name\": \"BM_RepeatTimeUnit/repeats:3_stddev\",$"},
246 {
"\"time_unit\": \"us\",?$"}});
248 {{
".*BM_RepeatTimeUnit/repeats:3 ",
MR_Not},
249 {
"^\"BM_RepeatTimeUnit/repeats:3_mean\",%csv_us_report$"},
250 {
"^\"BM_RepeatTimeUnit/repeats:3_stddev\",%csv_us_report$"}});
int main(int argc, char *argv[])
void BM_Repeat(benchmark::State &state)
void SetLabel(const char *label)
void BM_arg_names(benchmark::State &state)
void BM_items_per_second(benchmark::State &state)
void BM_basic(benchmark::State &state)
void BM_label(benchmark::State &state)
ADD_CASES(TC_ConsoleOut, {{"^[-]+$", MR_Next}, {"^Benchmark %s Time %s CPU %s Iterations$", MR_Next}, {"^[-]+$", MR_Next}})
void BM_SummaryRepeat(benchmark::State &state)
void SkipWithError(const char *msg)
SET_SUBSTITUTIONS({{"%bigOStr", "[ ]* %float \\([0-9]+\\)"}, {"%RMS", "[ ]*[0-9]+ %"}})
void BM_RepeatOnce(benchmark::State &state)
void BM_arg_name(benchmark::State &state)
void RunOutputTests(int argc, char *argv[])
void BM_bytes_per_second(benchmark::State &state)
BENCHMARK_ALWAYS_INLINE int range(std::size_t pos=0) const
BENCHMARK_ALWAYS_INLINE void SetItemsProcessed(size_t items)
void BM_RepeatTimeUnit(benchmark::State &state)
void BM_Complexity_O1(benchmark::State &state)
BENCHMARK_ALWAYS_INLINE void SetComplexityN(int complexity_n)
void BM_no_arg_name(benchmark::State &state)
void BM_error(benchmark::State &state)
BENCHMARK_ALWAYS_INLINE void SetBytesProcessed(size_t bytes)
ArgNames({"first", "", "third"})
libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:58