starpu_mpi_ft_stats.c 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /* StarPU --- Runtime system for heterogeneous multicore architectures.
  2. *
  3. * Copyright (C) 2013-2020 Université de Bordeaux, CNRS (LaBRI UMR 5800), Inria
  4. *
  5. * StarPU is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU Lesser General Public License as published by
  7. * the Free Software Foundation; either version 2.1 of the License, or (at
  8. * your option) any later version.
  9. *
  10. * StarPU is distributed in the hope that it will be useful, but
  11. * WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  13. *
  14. * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  15. */
  16. #include <mpi_failure_tolerance/starpu_mpi_ft_stats.h>
  17. starpu_pthread_mutex_t _ft_stats_mutex;
  18. int cp_data_msgs_sent_count;
  19. size_t cp_data_msgs_sent_total_size;
  20. int cp_data_msgs_received_count;
  21. size_t cp_data_msgs_received_total_size;
  22. int cp_data_msgs_sent_cached_count;
  23. size_t cp_data_msgs_sent_cached_total_size;
  24. int cp_data_msgs_received_cached_count;
  25. size_t cp_data_msgs_received_cached_total_size;
  26. int ft_service_msgs_sent_count;
  27. size_t ft_service_msgs_sent_total_size;
  28. int ft_service_msgs_received_count;
  29. size_t ft_service_msgs_received_total_size;
  30. struct size_sample_list cp_data_in_memory_list; //over time
  31. size_t cp_data_in_memory_size_max_at_t;
  32. size_t cp_data_in_memory_size_total;