Fixup some of the time (usec) based conversions
[fio.git] / parse.h
diff --git a/parse.h b/parse.h
index 2a1e06a45c540f2e29354a94ad52f8b026194473..a9d726dd94dadca481058432d8321ebb2f94b0ea 100644 (file)
--- a/parse.h
+++ b/parse.h
@@ -73,6 +73,7 @@ struct fio_option {
        unsigned int group;             /* who to group with */
        void *gui_data;
        int is_seconds;                 /* time value with seconds base */
+       int is_time;                    /* time based value */
        int no_warn_def;
 };
 
@@ -89,10 +90,10 @@ extern void options_free(struct fio_option *, void *);
 
 extern void strip_blank_front(char **);
 extern void strip_blank_end(char *);
-extern int str_to_decimal(const char *, long long *, int, void *, int);
+extern int str_to_decimal(const char *, long long *, int, void *, int, int);
 extern int check_str_bytes(const char *p, long long *val, void *data);
 extern int check_str_time(const char *p, long long *val, int);
-extern int str_to_float(const char *str, double *val);
+extern int str_to_float(const char *str, double *val, int is_time);
 
 /*
  * Handlers for the options