Home | History | Annotate | Download | only in benchmarks

Lines Matching refs:benchmark

21 #include <benchmark/benchmark.h>
30 void ReadWriteTest(benchmark::State& state, Fn f, bool buffered) {
50 void BM_stdio_fread(benchmark::State& state) {
53 BENCHMARK(BM_stdio_fread)->AT_COMMON_SIZES;
55 void BM_stdio_fwrite(benchmark::State& state) {
58 BENCHMARK(BM_stdio_fwrite)->AT_COMMON_SIZES;
60 void BM_stdio_fread_unbuffered(benchmark::State& state) {
63 BENCHMARK(BM_stdio_fread_unbuffered)->AT_COMMON_SIZES;
65 void BM_stdio_fwrite_unbuffered(benchmark::State& state) {
68 BENCHMARK(BM_stdio_fwrite_unbuffered)->AT_COMMON_SIZES;
70 static void FopenFgetsFclose(benchmark::State& state, bool no_locking) {
80 static void BM_stdio_fopen_fgets_fclose_locking(benchmark::State& state) {
83 BENCHMARK(BM_stdio_fopen_fgets_fclose_locking);
85 void BM_stdio_fopen_fgets_fclose_no_locking(benchmark::State& state) {
88 BENCHMARK(BM_stdio_fopen_fgets_fclose_no_locking);