X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2Fcontrolflow%2Fprocesslist.h;h=13af79c33c9686eb4cd79eccc97b9f125784161f;hb=4e86ae2e22548733054ffe05644d4a66030c859e;hp=a0a2e7fc364c71c0ad8bee40d5bbda1fc1393aa7;hpb=e72908ed8d4eeefde92f303b49d375b58476833a;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.h b/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.h index a0a2e7fc..13af79c3 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.h +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.h @@ -49,7 +49,7 @@ typedef struct _ProcessInfo { LttTime birth; guint trace_num; - gint height_cache; + // gint height_cache; } ProcessInfo; @@ -70,6 +70,8 @@ typedef struct _HashedProcessData { gboolean under_marked; /* inform the user that information is incomplete */ } x; /* last x position saved by after state update */ + LttTime next_good_time; /* precalculate the next time where the next + pixel is.*/ // FIXME : add info on last event ? } HashedProcessData; @@ -85,6 +87,10 @@ struct _ProcessList { guint number_of_process; gint cell_height_cache; + + ProcessInfo *current_process_info; + HashedProcessData *current_hash_data; + }; @@ -100,6 +106,7 @@ void processlist_clear(ProcessList *process_list); /* CPU num is only used for PID 0 */ int processlist_add(ProcessList *process_list, guint pid, guint cpu, guint ppid, LttTime *birth, guint trace_num, const gchar *name, guint *height, + ProcessInfo **process_info, HashedProcessData **hashed_process_data); // out : success (0) and height int processlist_remove(ProcessList *process_list, guint pid, guint cpu,