Переглянути джерело

traces: dump the "Deinitializing end" event to trace.rec

The Deinitializing event is now correctly computed with my script.
Adding a "End" event is required to compute the duration time.
Samuel Pitoiset 9 роки тому
батько
коміт
83028609c2
1 змінених файлів з 2 додано та 0 видалено
  1. 2 0
      src/debug/traces/starpu_fxt.c

+ 2 - 0
src/debug/traces/starpu_fxt.c

@@ -758,6 +758,8 @@ static void handle_worker_deinit_end(struct fxt_ev_64 *ev, struct starpu_fxt_opt
 			get_event_time_stamp(ev, options), prefix, ev->param[1]);
 #endif
 	}
+	if (states_file)
+		recfmt_thread_set_state(get_event_time_stamp(ev, options), ev->param[1], "End");
 }
 
 #ifdef STARPU_HAVE_POTI