Home
last modified time | relevance | path

Searched refs:rw_bytes (Results 1 – 4 of 4) sorted by relevance

/system/extras/ioshark/
Dioshark_bench_mmap.c108 struct rw_bytes_s *rw_bytes) in mmap_do_io() argument
118 rw_bytes->bytes_read += len; in mmap_do_io()
134 rw_bytes->bytes_written += len; in mmap_do_io()
149 rw_bytes->bytes_read += len; in mmap_do_io()
168 struct rw_bytes_s *rw_bytes) in ioshark_handle_mmap() argument
190 rw_bytes); in ioshark_handle_mmap()
199 op_counts, rw_bytes); in ioshark_handle_mmap()
Dioshark_bench.c171 struct rw_bytes_s rw_bytes; in create_files() local
175 memset(&rw_bytes, 0, sizeof(struct rw_bytes_s)); in create_files()
197 &rw_bytes); in create_files()
209 update_byte_counts(&aggr_create_rw_bytes, &rw_bytes); in create_files()
216 struct rw_bytes_s *rw_bytes, in do_one_io() argument
244 rw_bytes->bytes_read += file_op->prw_len; in do_one_io()
259 rw_bytes->bytes_written += file_op->prw_len; in do_one_io()
274 rw_bytes->bytes_read += file_op->rw_len; in do_one_io()
289 rw_bytes->bytes_written += file_op->rw_len; in do_one_io()
304 rw_bytes); in do_one_io()
[all …]
Dioshark_bench.h139 struct rw_bytes_s *rw_bytes);
143 void print_bytes(char *desc, struct rw_bytes_s *rw_bytes);
147 struct rw_bytes_s *rw_bytes);
Dioshark_bench_subr.c271 create_file(char *path, size_t size, struct rw_bytes_s *rw_bytes) in create_file() argument
291 rw_bytes->bytes_written += n; in create_file()
321 print_bytes(char *desc, struct rw_bytes_s *rw_bytes) in print_bytes() argument
326 (int)(rw_bytes->bytes_read / (1024 * 1024)), in print_bytes()
327 (int)(rw_bytes->bytes_written / (1024 * 1024))); in print_bytes()
330 (int)(rw_bytes->bytes_read / (1024 * 1024)), in print_bytes()
331 (int)(rw_bytes->bytes_written / (1024 * 1024))); in print_bytes()