server: send network copy of run_str[]
[fio.git] / stat.h
diff --git a/stat.h b/stat.h
index 289223cbe814e2b90d9d26b0ab272edbb3dc0e99..72cbe1684078cb83b37ce76b63c69c9d8e9b8e49 100644 (file)
--- a/stat.h
+++ b/stat.h
@@ -179,10 +179,17 @@ struct jobs_eta {
        uint32_t iops[2];
        uint64_t elapsed_sec;
        uint64_t eta_sec;
+
+       /*
+        * Network 'copy' of run_str[]
+        */
+       uint32_t nr_threads;
+       uint8_t run_str[0];
 };
 
 extern void show_thread_status(struct thread_stat *ts, struct group_run_stats *rs);
 extern void show_group_stats(struct group_run_stats *rs);
-
+extern int calc_thread_status(struct jobs_eta *je);
+extern void display_thread_status(struct jobs_eta *je);
 
 #endif