Explorar el Código

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

Nathalie Furmento hace 4 años
padre
commit
426d606c7f
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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