소스 검색

src: move implementation of function starpu_profiling_init to profiling/profiling.c

Nathalie Furmento 13 년 전
부모
커밋
68ff5bb581
2개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 0 5
      src/core/workers.c
  2. 5 0
      src/profiling/profiling.c

+ 0 - 5
src/core/workers.c

@@ -1038,11 +1038,6 @@ int starpu_initialize(struct starpu_conf *user_conf, int *argc, char ***argv)
 	return 0;
 }
 
-void starpu_profiling_init()
-{
-	_starpu_profiling_init();
-}
-
 /*
  * Handle runtime termination
  */

+ 5 - 0
src/profiling/profiling.c

@@ -66,6 +66,11 @@ int _starpu_profiling =
 #endif
 	;
 
+void starpu_profiling_init()
+{
+	_starpu_profiling_init();
+}
+
 int starpu_profiling_status_set(int status)
 {
 	ANNOTATE_HAPPENS_AFTER(&_starpu_profiling);