Option for changing log files to use Unix epoch instead of being
[fio.git] / options.c
index 517ee68abc4d6b017860760173996f27825ec081..50b4d09ec8ba66b1826602b24ea693b68103efaa 100644 (file)
--- a/options.c
+++ b/options.c
@@ -3647,6 +3647,15 @@ struct fio_option fio_options[FIO_MAX_OPTS] = {
                .help   = "Install libz-dev(el) to get compression support",
        },
 #endif
+       {
+               .name = "log_unix_epoch",
+               .lname = "Log epoch unix",
+               .type = FIO_OPT_BOOL,
+               .off1 = offsetof(struct thread_options, log_unix_epoch),
+               .help = "Use Unix time in log files",
+               .category = FIO_OPT_C_LOG,
+               .group = FIO_OPT_G_INVALID,
+       },
        {
                .name   = "block_error_percentiles",
                .lname  = "Block error percentiles",