Просмотр исходного кода

Add starpu_fxt_start/stop_profiling stubs in the non-FXT case

Samuel Thibault лет назад: 12
Родитель
Сommit
c6bc5db0b5
1 измененных файлов с 9 добавлено и 0 удалено
  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)
 {