// Use the current process index of the snapshot:
if (process_index == simgrid::mc::ProcessIndexDisabled)
process_index = snapshot->privatization_index;
// Use the current process index of the snapshot:
if (process_index == simgrid::mc::ProcessIndexDisabled)
process_index = snapshot->privatization_index;