if (argc != nullptr && argv != nullptr) {
smx_process_t proc = SIMIX_process_self();
- proc->context->set_cleanup(MSG_process_cleanup_from_SIMIX);
+ proc->context->set_cleanup(&MSG_process_cleanup_from_SIMIX);
char* instance_id = (*argv)[1];
int rank = xbt_str_parse_int((*argv)[2], "Invalid rank: %s");
int index = smpi_process_index_of_smx_process(proc);
* @param speedPerPstate Processor speed (in Flops) of each pstate. This ignores any potential external load coming from a trace.
* @param core The number of core of this Cpu
*/
- virtual Cpu *createCpu(simgrid::s4u::Host *host, std::vector<double> *, int core)=0;
+ virtual Cpu *createCpu(simgrid::s4u::Host *host, std::vector<double> *speedPerPstate, int core)=0;
void updateActionsStateLazy(double now, double delta) override;
void updateActionsStateFull(double now, double delta) override;