-/* Copyright (c) 2013-2022. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2013-2023. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
auto system = net_model->get_maxmin_system();
auto* action = net_model->communicate(src_host, dst_host, size, -1, true);
- size_t nb_disks = 0;
- if (src_disk != nullptr)
- nb_disks++;
- if (dst_disk != nullptr)
- nb_disks++;
-
// We don't want to apply the network model bandwidth factor to the I/O constraints
double bw_factor = net_model->get_bandwidth_factor();
if (src_disk != nullptr){