浏览代码

document that starpu_set_profiling_id needs to be called before starpu_init

Samuel Thibault 12 年之前
父节点
当前提交
ff4b3e5d81
共有 1 个文件被更改,包括 2 次插入1 次删除
  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}