Browse Source

Fix inconsistent comments in struct starpu_fxt_options

Philippe SWARTVAGHER 4 years ago
parent
commit
e364d695cf
1 changed files with 10 additions and 16 deletions
  1. 10 16
      include/starpu_fxt.h

+ 10 - 16
include/starpu_fxt.h

@@ -69,42 +69,36 @@ struct starpu_fxt_options
 	char *number_events_path;
 	char *number_events_path;
 	char *anim_path;
 	char *anim_path;
 	char *states_path;
 	char *states_path;
+	char worker_names[STARPU_NMAXWORKERS][256];
+	int nworkers;
+	struct starpu_perfmodel_arch worker_archtypes[STARPU_NMAXWORKERS];
 
 
 	/**
 	/**
 	   In case we are going to gather multiple traces (e.g in the case of
 	   In case we are going to gather multiple traces (e.g in the case of
 	   MPI processes), we may need to prefix the name of the containers.
 	   MPI processes), we may need to prefix the name of the containers.
 	*/
 	*/
 	char *file_prefix;
 	char *file_prefix;
+
 	/**
 	/**
 	   In case we are going to gather multiple traces (e.g in the case of
 	   In case we are going to gather multiple traces (e.g in the case of
-	   MPI processes), we may need to prefix the name of the containers.
+	   MPI processes), this variable stores the time offset with the rank 0.
 	*/
 	*/
 	uint64_t file_offset;
 	uint64_t file_offset;
+
 	/**
 	/**
 	   In case we are going to gather multiple traces (e.g in the case of
 	   In case we are going to gather multiple traces (e.g in the case of
-	   MPI processes), we may need to prefix the name of the containers.
+	   MPI processes), this variable stores the MPI rank of the trace file.
 	*/
 	*/
 	int file_rank;
 	int file_rank;
 
 
 	/**
 	/**
-	   Output parameters
-	*/
-	char worker_names[STARPU_NMAXWORKERS][256];
-	/**
-	   Output parameters
-	*/
-	struct starpu_perfmodel_arch worker_archtypes[STARPU_NMAXWORKERS];
-	/**
-	   Output parameters
-	*/
-	int nworkers;
-
-	/**
 	   In case we want to dump the list of codelets to an external tool
 	   In case we want to dump the list of codelets to an external tool
 	*/
 	*/
 	struct starpu_fxt_codelet_event **dumped_codelets;
 	struct starpu_fxt_codelet_event **dumped_codelets;
+
 	/**
 	/**
-	   In case we want to dump the list of codelets to an external tool
+	   In case we want to dump the list of codelets to an external tool, number
+	   of dumped codelets.
 	*/
 	*/
 	long dumped_codelets_count;
 	long dumped_codelets_count;
 };
 };