Home
last modified time | relevance | path

Searched refs:chunk_size (Results 1 – 3 of 3) sorted by relevance

/bionic/benchmarks/
Dstdio_benchmark.cpp30 void ReadWriteTest(::testing::Benchmark* benchmark, int iters, int chunk_size, Fn f, bool buffered)… in ReadWriteTest() argument
34 char* buf = new char[chunk_size]; in ReadWriteTest()
42 f(buf, chunk_size, 1, fp); in ReadWriteTest()
46 benchmark->SetBenchmarkBytesProcessed(int64_t(iters) * int64_t(chunk_size)); in ReadWriteTest()
52 void BM_stdio_fread::Run(int iters, int chunk_size) { in Run() argument
53 ReadWriteTest(this, iters, chunk_size, fread, true); in Run()
57 void BM_stdio_fwrite::Run(int iters, int chunk_size) { in Run() argument
58 ReadWriteTest(this, iters, chunk_size, fwrite, true); in Run()
62 void BM_stdio_fread_unbuffered::Run(int iters, int chunk_size) { in Run() argument
63 ReadWriteTest(this, iters, chunk_size, fread, false); in Run()
[all …]
/bionic/libc/kernel/uapi/linux/raid/
Dmd_u.h81 int chunk_size; member
111 int chunk_size; member
Dmd_p.h126 __u32 chunk_size; member