From 1413a5dd30f3573a7765d015378823314bdbe9d4 Mon Sep 17 00:00:00 2001 From: compudj Date: Tue, 25 May 2004 22:50:03 +0000 Subject: [PATCH] fix following Michel's email git-svn-id: http://ltt.polymtl.ca/svn@544 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/doc/developer/hook_prio.txt | 14 +++++--------- .../process_traceset_strict_boundaries.txt | 10 +++++----- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/ltt/branches/poly/doc/developer/hook_prio.txt b/ltt/branches/poly/doc/developer/hook_prio.txt index b78a3634..910d86b6 100644 --- a/ltt/branches/poly/doc/developer/hook_prio.txt +++ b/ltt/branches/poly/doc/developer/hook_prio.txt @@ -12,16 +12,12 @@ hooks, eventually sorted by the priority associated to them. This is a modification to the actual LttvHooks that associates a priority with each hook. The container for this type would be a garray, just like hook.c, but -a lttv_hooks_prio_sort would be called every time a hook is added to a list. It -would sort the hooks in a hook list by priority : from highest priority (-19) to -lowest (20). The default priority is 0. +hooks would be added at the right position in the list, by priority. Hooks in a +hook list are ordered by priority : from highest priority (0) to +lowest (99). The default priority is 50 (defined as LTTV_PRIO_DEFAULT). -In order to make lttv_hooks_call aware of the different kind of hooks it has to -call, the LttvHooksById will be modified to integrate a new "main" list : a -pointer to a LttvHooks that will be called for any Id. - -A new lttv_hooks_by_id_call that will get the hooks from the main and by_id -lists in the right order will deal with the multiple lists priority problem. +A new lttv_hooks_call_merge that will get the hooks from two hook lists in the +right order will deal with the multiple lists priority problem. diff --git a/ltt/branches/poly/doc/developer/process_traceset_strict_boundaries.txt b/ltt/branches/poly/doc/developer/process_traceset_strict_boundaries.txt index cc9b288d..a63e86ae 100644 --- a/ltt/branches/poly/doc/developer/process_traceset_strict_boundaries.txt +++ b/ltt/branches/poly/doc/developer/process_traceset_strict_boundaries.txt @@ -97,11 +97,11 @@ From now on, the state computation will be done in the middle hook call, with a priority higher than default. We will define this priority as PRIO_STATE, defined to -10. -If state has to be computed, lttv_process_traceset_begin is called to add state -hooks to the context. Then, the state seek_closest will have to be used to -restore the nearest state, plus a process_traceset with no hooks present other -than the state hooks will have to be called to go from the closest state to the -real time seeked. +If state has to be computed, lttv_process_traceset_begin has to be called in +a first time. It adds the state hooks to the context. Then, the state +seek_closest will have to be used to restore the nearest state, plus a +process_traceset with no hooks present other than the state hooks will have to +be called to go from the closest state to the real time seeked. The lttv_process_traceset_end will only need to be called if no further state computation is needed. -- 2.34.1