Lines Matching full:benchmark
24 #include <benchmark/benchmark.h>
38 void ReadWriteTest(benchmark::State& state, Fn f, bool buffered) {
60 void BM_stdio_fread(benchmark::State& state) {
65 void BM_stdio_fwrite(benchmark::State& state) {
70 void BM_stdio_fread_unbuffered(benchmark::State& state) {
75 void BM_stdio_fwrite_unbuffered(benchmark::State& state) {
81 static void FopenFgetlnFclose(benchmark::State& state, bool no_locking) {
94 static void BM_stdio_fopen_fgetln_fclose_locking(benchmark::State& state) {
99 void BM_stdio_fopen_fgetln_fclose_no_locking(benchmark::State& state) {
105 static void FopenFgetsFclose(benchmark::State& state, bool no_locking) {
118 static void BM_stdio_fopen_fgets_fclose_locking(benchmark::State& state) {
123 void BM_stdio_fopen_fgets_fclose_no_locking(benchmark::State& state) {
128 static void FopenGetlineFclose(benchmark::State& state, bool no_locking) {
143 static void BM_stdio_fopen_getline_fclose_locking(benchmark::State& state) {
148 void BM_stdio_fopen_getline_fclose_no_locking(benchmark::State& state) {
153 static void FopenFgetcFclose(benchmark::State& state, bool no_locking) {
166 static void BM_stdio_fopen_fgetc_fclose_locking(benchmark::State& state) {
171 void BM_stdio_fopen_fgetc_fclose_no_locking(benchmark::State& state) {
176 static void BM_stdio_printf_literal(benchmark::State& state) {
184 static void BM_stdio_printf_s(benchmark::State& state) {
193 static void BM_stdio_printf_d(benchmark::State& state) {
201 static void BM_stdio_printf_1$s(benchmark::State& state) {
210 static void BM_stdio_scanf_s(benchmark::State& state) {
218 static void BM_stdio_scanf_d(benchmark::State& state) {
227 static void BM_stdio_scanf_maps(benchmark::State& state) {
295 static void BM_stdio_scanf_maps_baseline(benchmark::State& state) {