Browse Source

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

Nathalie Furmento 12 years ago
parent
commit
68ff5bb581
2 changed files with 5 additions and 5 deletions
  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);