Parcourir la source

Add starpu_fxt_start/stop_profiling stubs in the non-FXT case

Samuel Thibault il y a 12 ans
Parent
commit
c6bc5db0b5
1 fichiers modifiés avec 9 ajouts et 0 suppressions
  1. 9 0
      src/common/fxt.c

+ 9 - 0
src/common/fxt.c

@@ -207,6 +207,15 @@ void _starpu_fxt_register_thread(unsigned cpuid)
 }
 
 #endif // STARPU_USE_FXT
+void starpu_fxt_start_profiling()
+{
+}
+
+void starpu_fxt_stop_profiling()
+{
+}
+
+#endif // STARPU_USE_FXT
 
 void starpu_trace_user_event(unsigned long code STARPU_ATTRIBUTE_UNUSED)
 {