add private file from gtk : fnmatch.c
[lttv.git] / ltt / branches / poly / lttv / modules / gui / controlflow / processlist.h
index b8ad845366a8287f8805af7cae782f07791b2440..1de9b09a0dac4947f8b31057f1238cccad00fbfe 100644 (file)
  * 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;
@@ -74,7 +88,6 @@ typedef struct _HashedProcessData {
 
   LttTime next_good_time; /* precalculate the next time where the next
                              pixel is.*/
-  // FIXME : add info on last event ?
 
 } HashedProcessData;
   
@@ -126,6 +139,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);
 
This page took 0.024549 seconds and 4 git commands to generate.