소스 검색

src/common/fxt.c: set the process id in the fxt trace file as mentioned in the documentation

Nathalie Furmento 5 년 전
부모
커밋
426d606c7f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/common/fxt.c

+ 1 - 0
src/common/fxt.c

@@ -189,6 +189,7 @@ void _starpu_fxt_init_profiling(uint64_t trace_buffer_size)
 
 	_starpu_fxt_started = 1;
 	_starpu_written = 0;
+	_starpu_id = (int)getpid();
 	_starpu_profile_set_tracefile();
 
 #ifdef HAVE_FUT_SET_FILENAME