Searched refs:rw_bytes (Results 1 – 4 of 4) sorted by relevance
/system/extras/ioshark/ |
D | ioshark_bench_mmap.c | 108 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()
|
D | ioshark_bench.c | 169 struct rw_bytes_s rw_bytes; in create_files() local 173 memset(&rw_bytes, 0, sizeof(struct rw_bytes_s)); in create_files() 196 &rw_bytes); in create_files() 208 update_byte_counts(&aggr_create_rw_bytes, &rw_bytes); in create_files() 215 struct rw_bytes_s *rw_bytes, in do_one_io() argument 243 rw_bytes->bytes_read += file_op->prw_len; in do_one_io() 258 rw_bytes->bytes_written += file_op->prw_len; in do_one_io() 273 rw_bytes->bytes_read += file_op->rw_len; in do_one_io() 288 rw_bytes->bytes_written += file_op->rw_len; in do_one_io() 303 rw_bytes); in do_one_io() [all …]
|
D | ioshark_bench.h | 139 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);
|
D | ioshark_bench_subr.c | 270 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() 322 print_bytes(char *desc, struct rw_bytes_s *rw_bytes) in print_bytes() argument 327 (int)(rw_bytes->bytes_read / (1024 * 1024)), in print_bytes() 328 (int)(rw_bytes->bytes_written / (1024 * 1024))); in print_bytes() 331 (int)(rw_bytes->bytes_read / (1024 * 1024)), in print_bytes() 332 (int)(rw_bytes->bytes_written / (1024 * 1024))); in print_bytes()
|