- return 0;
- } else {
- return 1;
- }
-}
-
-
-guint processlist_get_height(ProcessList *process_list)
-{
- return get_cell_height(GTK_TREE_VIEW(process_list->process_list_widget))
- * process_list->number_of_process ;
-}
-
-
-gint processlist_get_process_pixels( ProcessList *process_list,
- guint pid, guint cpu, LttTime *birth, guint trace_num,
- guint *y,
- guint *height,
- HashedProcessData **pm_hashed_process_data)
-{
- ProcessInfo Process_Info;
- gint *path_indices;
- GtkTreePath *tree_path;
- HashedProcessData *hashed_process_data = NULL;
-
- Process_Info.pid = pid;
- Process_Info.cpu = cpu;
- Process_Info.birth = *birth;
- Process_Info.trace_num = trace_num;
+ if(likely(process_list->current_hash_data != NULL)) {
+ if(likely(hashed_process_data == process_list->current_hash_data[cpu])) {
+ process_list->current_hash_data[cpu] = NULL;
+ }
+ }
+ process_list->number_of_process--;