From df27af68db7be0a9d2c2baff7150a91a7355849f Mon Sep 17 00:00:00 2001
From: Quentin Khan <quentin.khan@inria.fr>
Date: Fri, 17 Mar 2017 11:00:10 +0100
Subject: [PATCH] Add StarPU profiling to testBlockedChebyshev

---
 Tests/GroupTree/testBlockedChebyshev.cpp | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Tests/GroupTree/testBlockedChebyshev.cpp b/Tests/GroupTree/testBlockedChebyshev.cpp
index c2b28beba..4e399f18c 100644
--- a/Tests/GroupTree/testBlockedChebyshev.cpp
+++ b/Tests/GroupTree/testBlockedChebyshev.cpp
@@ -121,7 +121,13 @@ int main(int argc, char* argv[]){
     GroupAlgorithm groupalgo(&groupedTree,&groupkernel);
 
     timer.tic();
+#ifdef SCALFMM_USE_STARPU
+    starpu_fxt_start_profiling();
+#endif
     groupalgo.execute();
+#ifdef SCALFMM_USE_STARPU
+    starpu_fxt_stop_profiling();
+#endif
     std::cout << "Kernel executed in in " << timer.tacAndElapsed() << "s\n";
 
     // Validate the result
@@ -195,4 +201,3 @@ int main(int argc, char* argv[]){
 
     return 0;
 }
-
-- 
GitLab