Ver código fonte

document that starpu_set_profiling_id needs to be called before starpu_init

Samuel Thibault 12 anos atrás
pai
commit
ff4b3e5d81
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      doc/chapters/basic-api.texi

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

@@ -2280,7 +2280,8 @@ Return the current profiling status or a negative value in case there was an err
 @end deftypefun
 
 @deftypefun void starpu_set_profiling_id (int @var{new_id})
-This function sets the ID used for profiling trace filename
+This function sets the ID used for profiling trace filename. It needs to be
+called before starpu_init.
 @end deftypefun
 
 @deftp {Data Type} {struct starpu_task_profiling_info}