Struct fio_ioengine_sys::thread_data [−][src]
#[repr(C)]pub struct thread_data {}Show fields
pub opt_list: flist_head, pub flags: c_ulong, pub o: thread_options, pub eo: *mut c_void, pub thread: pthread_t, pub thread_number: c_uint, pub subjob_number: c_uint, pub groupid: c_uint, pub ts: thread_stat, pub client_type: c_int, pub slat_log: *mut io_log, pub clat_log: *mut io_log, pub clat_hist_log: *mut io_log, pub lat_log: *mut io_log, pub bw_log: *mut io_log, pub iops_log: *mut io_log, pub log_compress_wq: workqueue, pub parent: *mut thread_data, pub stat_io_bytes: [u64; 3], pub bw_sample_time: timespec, pub stat_io_blocks: [u64; 3], pub iops_sample_time: timespec, pub update_rusage: c_int, pub rusage_sem: *mut fio_sem, pub ru_start: rusage, pub ru_end: rusage, pub files: *mut *mut fio_file, pub file_locks: *mut c_uchar, pub files_size: c_uint, pub files_index: c_uint, pub nr_open_files: c_uint, pub nr_done_files: c_uint, pub __bindgen_anon_1: thread_data__bindgen_ty_1, pub __bindgen_anon_2: thread_data__bindgen_ty_2, pub __bindgen_anon_3: thread_data__bindgen_ty_3, pub random_center: f64, pub error: c_int, pub sig: c_int, pub done: c_int, pub stop_io: c_int, pub pid: pid_t, pub orig_buffer: *mut c_char, pub orig_buffer_size: size_t, pub runstate: c_int, pub terminate: bool, pub last_was_sync: bool, pub last_ddir: fio_ddir, pub mmapfd: c_int, pub iolog_buf: *mut c_void, pub iolog_f: *mut FILE, pub rand_seeds: [u64; 20], pub bsrange_state: [frand_state; 3], pub verify_state: frand_state, pub trim_state: frand_state, pub delay_state: frand_state, pub buf_state: frand_state, pub buf_state_prev: frand_state, pub dedupe_state: frand_state, pub zone_state: frand_state, pub prio_state: frand_state, pub zone_state_index: *mut *mut zone_split_index, pub num_open_zones: c_uint, pub verify_batch: c_uint, pub trim_batch: c_uint, pub vstate: *mut thread_io_list, pub shm_id: c_int, pub io_ops: *mut ioengine_ops, pub io_ops_init: c_int, pub io_ops_data: *mut c_void, pub cur_depth: c_uint, pub io_u_queued: c_uint, pub io_u_in_flight: c_uint, pub io_u_requeues: io_u_ring, pub io_u_freelist: io_u_queue, pub io_u_all: io_u_queue, pub io_u_lock: pthread_mutex_t, pub free_cond: pthread_cond_t, pub verify_list: flist_head, pub verify_threads: *mut pthread_t, pub nr_verify_threads: c_uint, pub verify_cond: pthread_cond_t, pub verify_thread_exit: c_int, pub rate_bps: [u64; 3], pub rate_next_io_time: [u64; 3], pub rate_bytes: [c_ulonglong; 3], pub rate_blocks: [c_ulong; 3], pub rate_io_issue_bytes: [c_ulonglong; 3], pub lastrate: [timespec; 3], pub last_usec: [i64; 3], pub poisson_state: [frand_state; 3], pub io_wq: workqueue, pub total_io_size: u64, pub fill_device_size: u64, pub io_issues: [u64; 3], pub io_issue_bytes: [u64; 3], pub loops: u64, pub io_blocks: [u64; 3], pub this_io_blocks: [u64; 3], pub io_bytes: [u64; 3], pub this_io_bytes: [u64; 3], pub io_skip_bytes: u64, pub zone_bytes: u64, pub sem: *mut fio_sem, pub bytes_done: [u64; 3], pub thinktime_blocks_counter: *mut u64, pub random_state: frand_state, pub start: timespec, pub epoch: timespec, pub unix_epoch: c_ulonglong, pub last_issue: timespec, pub time_offset: c_long, pub ts_cache: timespec, pub terminate_time: timespec, pub ts_cache_nr: c_uint, pub ts_cache_mask: c_uint, pub ramp_time_over: bool, pub latency_ts: timespec, pub latency_qd: c_uint, pub latency_qd_high: c_uint, pub latency_qd_low: c_uint, pub latency_failed: c_uint, pub latency_stable_count: c_uint, pub latency_ios: u64, pub latency_end_run: c_int, pub rwmix_state: frand_state, pub rwmix_issues: c_ulong, pub rwmix_ddir: fio_ddir, pub ddir_seq_nr: c_uint, pub seq_rand_state: [frand_state; 3], pub io_hist_tree: rb_root, pub io_hist_list: flist_head, pub io_hist_len: c_ulong, pub io_log_list: flist_head, pub io_log_rfile: *mut FILE, pub io_log_current: c_uint, pub io_log_checkmark: c_uint, pub io_log_highmark: c_uint, pub io_log_highmark_time: timespec, pub trim_list: flist_head, pub trim_entries: c_ulong, pub file_service_nr: c_uint, pub file_service_left: c_uint, pub file_service_file: *mut fio_file, pub sync_file_range_nr: c_uint, pub file_size_state: frand_state, pub total_err_count: c_uint, pub first_error: c_int, pub flow: *mut fio_flow, pub flow_counter: c_ulonglong, pub prof_io_ops: prof_io_ops, pub prof_data: *mut c_void, pub pinned_mem: *mut c_void, pub ss: steadystate_data, pub verror: [c_char; 128],
Fields
opt_list: flist_head
flags: c_ulong
o: thread_options
eo: *mut c_void
thread: pthread_t
thread_number: c_uint
subjob_number: c_uint
groupid: c_uint
ts: thread_stat
client_type: c_int
slat_log: *mut io_log
clat_log: *mut io_log
clat_hist_log: *mut io_log
lat_log: *mut io_log
bw_log: *mut io_log
iops_log: *mut io_log
log_compress_wq: workqueue
parent: *mut thread_data
stat_io_bytes: [u64; 3]
bw_sample_time: timespec
stat_io_blocks: [u64; 3]
iops_sample_time: timespec
update_rusage: c_int
rusage_sem: *mut fio_sem
ru_start: rusage
ru_end: rusage
files: *mut *mut fio_file
file_locks: *mut c_uchar
files_size: c_uint
files_index: c_uint
nr_open_files: c_uint
nr_done_files: c_uint
__bindgen_anon_1: thread_data__bindgen_ty_1
__bindgen_anon_2: thread_data__bindgen_ty_2
__bindgen_anon_3: thread_data__bindgen_ty_3
random_center: f64
error: c_int
sig: c_int
done: c_int
stop_io: c_int
pid: pid_t
orig_buffer: *mut c_char
orig_buffer_size: size_t
runstate: c_int
terminate: bool
last_was_sync: bool
last_ddir: fio_ddir
mmapfd: c_int
iolog_buf: *mut c_void
iolog_f: *mut FILE
rand_seeds: [u64; 20]
bsrange_state: [frand_state; 3]
verify_state: frand_state
trim_state: frand_state
delay_state: frand_state
buf_state: frand_state
buf_state_prev: frand_state
dedupe_state: frand_state
zone_state: frand_state
prio_state: frand_state
zone_state_index: *mut *mut zone_split_index
num_open_zones: c_uint
verify_batch: c_uint
trim_batch: c_uint
vstate: *mut thread_io_list
shm_id: c_int
io_ops: *mut ioengine_ops
io_ops_init: c_int
io_ops_data: *mut c_void
cur_depth: c_uint
io_u_queued: c_uint
io_u_in_flight: c_uint
io_u_requeues: io_u_ring
io_u_freelist: io_u_queue
io_u_all: io_u_queue
io_u_lock: pthread_mutex_t
free_cond: pthread_cond_t
verify_list: flist_head
verify_threads: *mut pthread_t
nr_verify_threads: c_uint
verify_cond: pthread_cond_t
verify_thread_exit: c_int
rate_bps: [u64; 3]
rate_next_io_time: [u64; 3]
rate_bytes: [c_ulonglong; 3]
rate_blocks: [c_ulong; 3]
rate_io_issue_bytes: [c_ulonglong; 3]
lastrate: [timespec; 3]
last_usec: [i64; 3]
poisson_state: [frand_state; 3]
io_wq: workqueue
total_io_size: u64
fill_device_size: u64
io_issues: [u64; 3]
io_issue_bytes: [u64; 3]
loops: u64
io_blocks: [u64; 3]
this_io_blocks: [u64; 3]
io_bytes: [u64; 3]
this_io_bytes: [u64; 3]
io_skip_bytes: u64
zone_bytes: u64
sem: *mut fio_sem
bytes_done: [u64; 3]
thinktime_blocks_counter: *mut u64
random_state: frand_state
start: timespec
epoch: timespec
unix_epoch: c_ulonglong
last_issue: timespec
time_offset: c_long
ts_cache: timespec
terminate_time: timespec
ts_cache_nr: c_uint
ts_cache_mask: c_uint
ramp_time_over: bool
latency_ts: timespec
latency_qd: c_uint
latency_qd_high: c_uint
latency_qd_low: c_uint
latency_failed: c_uint
latency_stable_count: c_uint
latency_ios: u64
latency_end_run: c_int
rwmix_state: frand_state
rwmix_issues: c_ulong
rwmix_ddir: fio_ddir
ddir_seq_nr: c_uint
seq_rand_state: [frand_state; 3]
io_hist_tree: rb_root
io_hist_list: flist_head
io_hist_len: c_ulong
io_log_list: flist_head
io_log_rfile: *mut FILE
io_log_current: c_uint
io_log_checkmark: c_uint
io_log_highmark: c_uint
io_log_highmark_time: timespec
trim_list: flist_head
trim_entries: c_ulong
file_service_nr: c_uint
file_service_left: c_uint
file_service_file: *mut fio_file
sync_file_range_nr: c_uint
file_size_state: frand_state
total_err_count: c_uint
first_error: c_int
flow: *mut fio_flow
flow_counter: c_ulonglong
prof_io_ops: prof_io_ops
prof_data: *mut c_void
pinned_mem: *mut c_void
ss: steadystate_data
verror: [c_char; 128]
Trait Implementations
impl Clone for thread_data
[src]
impl Clone for thread_data
[src]fn clone(&self) -> thread_data
[src]
fn clone(&self) -> thread_data
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more