Explorar o código

Add starpu_fxt_start/stop_profiling stubs in the non-FXT case

Samuel Thibault %!s(int64=12) %!d(string=hai) anos
pai
achega
c6bc5db0b5
Modificáronse 1 ficheiros con 9 adicións e 0 borrados
  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)
 {