Searched refs:io_test (Results 1 - 3 of 3) sorted by relevance
/freebsd-11-stable/sbin/nvmecontrol/ |
H A D | perftest.c | 49 print_perftest(struct nvme_io_test *io_test, bool perthread) argument 54 for (i = 0; i < io_test->num_threads; i++) 55 io_completed += io_test->io_completed[i]; 57 iops = io_completed/io_test->time; 58 mbps = iops * io_test->size / (1024*1024); 61 io_test->num_threads, io_test->size, 62 io_test->opc == NVME_OPC_READ ? "READ" : "WRITE", 63 io_test->time, (uintmax_t)iops, (uintmax_t)mbps); 66 for (i = 0; i < io_test 82 struct nvme_io_test io_test; local [all...] |
/freebsd-11-stable/sys/dev/nvme/ |
H A D | nvme_test.c | 86 struct nvme_io_test_internal *io_test = arg; local 97 buf = malloc(io_test->size, M_NVME, M_WAITOK); 98 idx = atomic_fetchadd_int(&io_test->td_idx, 1); 99 dev = io_test->ns->cdev; 101 offset = idx * 2048 * nvme_ns_get_sector_size(io_test->ns); 108 bio->bio_cmd = (io_test->opc == NVME_OPC_READ) ? 114 bio->bio_bcount = io_test->size; 116 if (io_test->flags & NVME_TEST_FLAG_REFTHREAD) { 127 if (io_test->flags & NVME_TEST_FLAG_REFTHREAD) { 139 timevalsub(&t, &io_test 201 struct nvme_io_test_internal *io_test = arg; local 239 struct nvme_io_test *io_test; local [all...] |
/freebsd-11-stable/lib/libc/tests/locale/ |
H A D | Makefile | 23 NETBSD_ATF_TESTS_C= io_test
|
Completed in 187 milliseconds