projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
precomputed states almost ok, needs testing
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
modules
/
gui
/
controlflow
/
eventhooks.c
diff --git
a/ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c
b/ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c
index cac372ca16851411949d52be6aa0631c954649ff..65f47eec4a17c250afd1763f7d6a6cf784bc0a52 100644
(file)
--- a/
ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c
+++ b/
ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c
@@
-122,6
+122,7
@@
static void request_background_data(ControlFlowData *control_flow_data)
gint num_traces = lttv_traceset_number(tsc->ts);
gint i;
LttvTrace *trace;
gint num_traces = lttv_traceset_number(tsc->ts);
gint i;
LttvTrace *trace;
+ LttvTraceState *tstate;
LttvHooks *background_ready_hook =
lttv_hooks_new();
LttvHooks *background_ready_hook =
lttv_hooks_new();
@@
-131,8
+132,10
@@
static void request_background_data(ControlFlowData *control_flow_data)
for(i=0;i<num_traces;i++) {
trace = lttv_traceset_get(tsc->ts, i);
for(i=0;i<num_traces;i++) {
trace = lttv_traceset_get(tsc->ts, i);
+ tstate = LTTV_TRACE_STATE(tsc->traces[i]);
- if(lttvwindowtraces_get_ready(g_quark_from_string("state"),trace)==FALSE) {
+ if(lttvwindowtraces_get_ready(g_quark_from_string("state"),trace)==FALSE
+ && !tstate->has_precomputed_states) {
if(lttvwindowtraces_get_in_progress(g_quark_from_string("state"),
trace) == FALSE) {
if(lttvwindowtraces_get_in_progress(g_quark_from_string("state"),
trace) == FALSE) {
@@
-159,7
+162,7
@@
static void request_background_data(ControlFlowData *control_flow_data)
control_flow_data->background_info_waiting++;
}
} else {
control_flow_data->background_info_waiting++;
}
} else {
- /* Data ready. B
e
its nature, this viewer doesn't need to have
+ /* Data ready. B
y
its nature, this viewer doesn't need to have
* its data ready hook called there, because a background
* request is always linked with a redraw.
*/
* its data ready hook called there, because a background
* request is always linked with a redraw.
*/
This page took
0.023063 seconds
and
4
git commands to generate.