X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=fio.h;h=a0c1109ab97a8a9d4bb96c8ad9910408a9615266;hp=ec8d593519dc0cfb4478c0c40f1dd92acc1419ed;hb=44f0c3fce15b546cb75bca008f15b3fd33c30a68;hpb=1025d13dc9b230ac798eda37c7f3bb4471951a00 diff --git a/fio.h b/fio.h index ec8d5935..a0c1109a 100644 --- a/fio.h +++ b/fio.h @@ -196,6 +196,7 @@ enum { VERIFY_CRC64, /* crc64 sum data blocks */ VERIFY_CRC32, /* crc32 sum data blocks */ VERIFY_CRC32C, /* crc32c sum data blocks */ + VERIFY_CRC32C_INTEL, /* crc32c sum data blocks with hw */ VERIFY_CRC16, /* crc16 sum data blocks */ VERIFY_CRC7, /* crc7 sum data blocks */ VERIFY_SHA256, /* sha256 sum data blocks */ @@ -472,6 +473,7 @@ struct thread_options { unsigned int fsync_blocks; unsigned int start_delay; unsigned long long timeout; + unsigned long long ramp_time; unsigned int overwrite; unsigned int bw_avg_time; unsigned int loops; @@ -608,6 +610,7 @@ struct thread_data { struct timeval rw_end[2]; struct timeval last_issue; unsigned int rw_end_set[2]; + unsigned int ramp_time_over; /* * read/write mixed workload state @@ -816,6 +819,7 @@ extern void rate_throttle(struct thread_data *, unsigned long, unsigned int); extern void fill_start_time(struct timeval *); extern void fio_gettime(struct timeval *, void *); extern void set_genesis_time(void); +extern int ramp_time_over(struct thread_data *); /* * Init/option functions