projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
control flow view works (state computation enabled) : has bugs with multiple cpus
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
modules
/
gui
/
controlflow
/
processlist.c
diff --git
a/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.c
b/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.c
index d3ef83b2bb91aee6b7e4c7ddc49898b4fff94809..4ecef3d2cb452dbca8e44f35efe53287144ab2a4 100644
(file)
--- a/
ltt/branches/poly/lttv/modules/gui/controlflow/processlist.c
+++ b/
ltt/branches/poly/lttv/modules/gui/controlflow/processlist.c
@@
-16,6
+16,10
@@
* MA 02111-1307, USA.
*/
* MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <gtk/gtk.h>
#include <glib.h>
#include <string.h>
#include <gtk/gtk.h>
#include <glib.h>
#include <string.h>
@@
-273,7
+277,6
@@
void copy_pixmap_to_screen(ProcessList *process_list,
if(process_list->index_to_pixmap->len == 0) return;
guint cell_height = process_list->cell_height;
if(process_list->index_to_pixmap->len == 0) return;
guint cell_height = process_list->cell_height;
- //cell_height = 24; //FIXME
/* Get indexes */
gint begin = floor(y/(double)cell_height);
gint end = MIN(ceil((y+height)/(double)cell_height),
/* Get indexes */
gint begin = floor(y/(double)cell_height);
gint end = MIN(ceil((y+height)/(double)cell_height),
@@
-577,7
+580,6
@@
int processlist_add( ProcessList *process_list,
hashed_process_data->height = process_list->cell_height;
hashed_process_data->height = process_list->cell_height;
- //hashed_process_data->height = 24; // FIXME
g_assert(hashed_process_data->height != 0);
*height = hashed_process_data->height * process_list->number_of_process;
g_assert(hashed_process_data->height != 0);
*height = hashed_process_data->height * process_list->number_of_process;
This page took
0.022725 seconds
and
4
git commands to generate.