after_schedchange_hook,
events_request,
LTTV_PRIO_STATE+5);
+#if 0
lttv_hooks_add(event,
+ before_execmode_hook,
+ events_request,
+ LTTV_PRIO_STATE-5);
+ lttv_hooks_add(event,
+ after_execmode_hook,
+ events_request,
+ LTTV_PRIO_STATE+5);
+#endif //0
+ lttv_hooks_add(event,
after_fork_hook,
events_request,
LTTV_PRIO_STATE+5);
LttvTracesetContext *tsc = LTTV_TRACESET_CONTEXT(tss);
LttTime current_time = lttv_traceset_context_get_current_tfc(tsc)->timestamp;
- cfd->drawing->last_start = LTT_TIME_MIN(current_time,
- events_request->end_time);
+ //cfd->drawing->last_start = LTT_TIME_MIN(current_time,
+ // events_request->end_time);
}
LttTime window_end = ltt_time_add(time_window.time_width,
time_window.start_time);
-
+#if 0
convert_time_to_pixels(
time_window.start_time,
window_end,
drawing->width,
&x);
+#endif //0
convert_time_to_pixels(
time_window.start_time,
window_end,
end_time,
drawing->width,
&x_end);
-
+ x = drawing->damage_begin;
+ // x_end = drawing->damage_end;
width = x_end - x;
drawing->damage_begin = x+width;
gint height, width, depth;
/* X coordinate of damaged region */
- gint damage_begin, damage_end;
- LttTime last_start;
+ gint damage_begin, damage_end; /* damaged region to be exposed,
+ updated per chunk */
+ LttTime last_start;
GdkGC *dotted_gc;
GdkGC *gc;
};