X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2Fcontrolflow%2Fprocesslist.h;h=687ac407e7e58c2d111e679854161aa91bdb9d51;hb=7c0125e0d749f61688a140b2dbb76cc37ad57beb;hp=b8ad845366a8287f8805af7cae782f07791b2440;hpb=85690c4ba7b47cfca66366c12c77bb9398345668;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 b8ad8453..687ac407 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.h +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.h @@ -38,9 +38,23 @@ * provides helper function to convert a process unique identifier to * pixels (in height). * - * //FIXME : connect the scrolled window adjustment with the list. */ + +/* Enumeration of the columns */ +enum +{ + PROCESS_COLUMN, + PID_COLUMN, + PPID_COLUMN, + CPU_COLUMN, + BIRTH_S_COLUMN, + BIRTH_NS_COLUMN, + TRACE_COLUMN, + N_COLUMNS +}; + + typedef struct _ProcessInfo { guint pid; @@ -126,6 +140,10 @@ int processlist_add(ProcessList *process_list, Drawing_t * drawing, int processlist_remove(ProcessList *process_list, guint pid, guint cpu, LttTime *birth, guint trace_num); + +/* Synchronize the list at the left and the drawing */ +void update_index_to_pixmap(ProcessList *process_list); + /* Update the width of each pixmap buffer for each process */ void update_pixmap_size(ProcessList *process_list, guint width);