/* StarPU --- Runtime system for heterogeneous multicore architectures. * * Copyright (C) 2009, 2010 Université de Bordeaux 1 * Copyright (C) 2010, 2011 Centre National de la Recherche Scientifique * * StarPU is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or (at * your option) any later version. * * StarPU is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * See the GNU Lesser General Public License in COPYING.LGPL for more details. */ #ifndef __DATASTATS_H__ #define __DATASTATS_H__ #include #include #include #include void _starpu_msi_cache_hit(unsigned node); void _starpu_msi_cache_miss(unsigned node); void _starpu_display_msi_stats(void); void _starpu_allocation_cache_hit(unsigned node __attribute__ ((unused))); void _starpu_data_allocation_inc_stats(unsigned node __attribute__ ((unused))); void _starpu_comm_amounts_inc(unsigned src, unsigned dst, size_t size); void _starpu_display_comm_amounts(void); void _starpu_display_alloc_cache_stats(void); void _starpu_display_data_stats(); void _starpu_display_data_handle_stats(starpu_data_handle_t handle); void _starpu_handle_stats_cache_hit(starpu_data_handle_t handle, unsigned node); void _starpu_handle_stats_loaded_shared(starpu_data_handle_t handle, unsigned node); void _starpu_handle_stats_loaded_owner(starpu_data_handle_t handle, unsigned node); void _starpu_handle_stats_shared_to_owner(starpu_data_handle_t handle, unsigned node); void _starpu_handle_stats_invalidated(starpu_data_handle_t handle, unsigned node); #endif // __DATASTATS_H__