-static void action_init(simgrid::xbt::ReplayAction& action)
-{
- XBT_DEBUG("Initialize the counters");
- CHECK_ACTION_PARAMS(action, 0, 1)
- if (action.size() > 2)
- MPI_DEFAULT_TYPE = MPI_DOUBLE; // default MPE datatype
- else
- MPI_DEFAULT_TYPE = MPI_BYTE; // default TAU datatype
-
- /* start a simulated timer */
- smpi_process()->simulated_start();
- /*initialize the number of active processes */
- active_processes = smpi_process_count();
-
- set_reqq_self(new std::vector<MPI_Request>);
-}
+ /* start a simulated timer */
+ smpi_process()->simulated_start();
+ /*initialize the number of active processes */
+ active_processes = smpi_process_count();
+
+ set_reqq_self(new std::vector<MPI_Request>);
+ }
+};
+
+} // Replay Namespace