unsigned int numjobs;
unsigned int iodepth;
os_cpu_mask_t cpumask;
- unsigned int jobnum;
unsigned int iolog;
unsigned int read_iolog;
unsigned int write_iolog;
(*sem)++;
}
+/*
+ * If logging output to a file, stderr should go to both stderr and f_err
+ */
+#define log_err(args...) do { \
+ fprintf(f_err, ##args); \
+ if (f_err != stderr) \
+ fprintf(stderr, ##args); \
+ } while (0)
+
#endif