浏览代码

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