From ed6e07b2f6d91fa34253f97d13049d7cbabf6a34 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Sat, 12 Jul 2008 21:41:32 +0000 Subject: various improvements of the plot generator in BTL --- bench/btl/actions/action_atv_product.hh | 6 ++++-- bench/btl/actions/action_matrix_vector_product.hh | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'bench/btl/actions') diff --git a/bench/btl/actions/action_atv_product.hh b/bench/btl/actions/action_atv_product.hh index 9041885fc..b46bb6de8 100644 --- a/bench/btl/actions/action_atv_product.hh +++ b/bench/btl/actions/action_atv_product.hh @@ -85,8 +85,10 @@ public : Interface::copy_vector(X_ref,X,_size); } - inline void calculate( void ) { - Interface::atv_product(A,B,X,_size); + BTL_DONT_INLINE void calculate( void ) { + asm("#begin atv"); + Interface::atv_product(A,B,X,_size); + asm("#end atv"); } void check_result( void ) diff --git a/bench/btl/actions/action_matrix_vector_product.hh b/bench/btl/actions/action_matrix_vector_product.hh index 7e490abe3..3a172f292 100644 --- a/bench/btl/actions/action_matrix_vector_product.hh +++ b/bench/btl/actions/action_matrix_vector_product.hh @@ -88,7 +88,7 @@ public : static inline std::string name( void ) { - return "matrix_vector_"+Interface::name(); + return "matrix_vector_" + Interface::name(); } double nb_op_base( void ){ -- cgit v1.2.3