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

fxt: rename function starpu_start_fxt_profiling into starpu_fxt_start_profiling

Nathalie Furmento лет назад: 12
Родитель
Сommit
b58f60b0b7
3 измененных файлов с 3 добавлено и 3 удалено
  1. 1 1
      doc/chapters/basic-api.texi
  2. 1 1
      include/starpu_fxt.h
  3. 1 1
      src/common/fxt.c

+ 1 - 1
doc/chapters/basic-api.texi

@@ -196,7 +196,7 @@ The number of StarPU drivers that should not be launched by StarPU.
 @item @code{no_auto_start_trace}
 The default (0) means that the FxT tracing will start as soon as
 @code{starpu_init} is called.
-Setting it to 1 permits to avoid tracing start so early, and instead start when the application calls @code{starpu_start_fxt_profiling}.
+Setting it to 1 permits to avoid tracing start so early, and instead start when the application calls @code{starpu_fxt_start_profiling}.
 
 @item @code{trace_buffer_size}
 Specifies the buffer size used for FxT tracing. Starting from FxT version

+ 1 - 1
include/starpu_fxt.h

@@ -70,7 +70,7 @@ struct starpu_fxt_options
 
 void starpu_fxt_options_init(struct starpu_fxt_options *options);
 void starpu_fxt_generate_trace(struct starpu_fxt_options *options);
-void starpu_start_fxt_profiling();
+void starpu_fxt_start_profiling();
 
 #ifdef __cplusplus
 }

+ 1 - 1
src/common/fxt.c

@@ -99,7 +99,7 @@ void starpu_set_profiling_id(int new_id)
 	_starpu_profile_set_tracefile(NULL);
 }
 
-void starpu_start_fxt_profiling()
+void starpu_fxt_start_profiling()
 {
 	unsigned threadid = _starpu_gettid();
 	fut_keychange(FUT_ENABLE, FUT_KEYMASKALL, threadid);