mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
Don't compute the total field.
Sat Nov 5 12:39:33 2005 Soeren Sandmann <sandmann@redhat.com> * profile.c (add_trace_to_tree): Don't compute the total field. * profile.h (struct ProfileDescendant): Remove 'total' field. * sysprof.c: Delete DESCENDANTS_TOTAL column and everything related to it. * profile.c: Remove commented out code * sfile.c (handle_text): Don't copy the text
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
cf761a2a70
commit
1f5b6ff38c
@ -384,7 +384,6 @@ enum
|
||||
DESCENDANTS_NAME,
|
||||
DESCENDANTS_SELF,
|
||||
DESCENDANTS_NON_RECURSE,
|
||||
DESCENDANTS_TOTAL,
|
||||
DESCENDANTS_OBJECT
|
||||
};
|
||||
|
||||
@ -486,7 +485,6 @@ add_node (GtkTreeStore *store,
|
||||
DESCENDANTS_NAME, node->name,
|
||||
DESCENDANTS_SELF, 100 * (node->self)/(double)size,
|
||||
DESCENDANTS_NON_RECURSE, 100 * (node->non_recursion)/(double)size,
|
||||
DESCENDANTS_TOTAL, 100 * (node->total)/(double)size,
|
||||
DESCENDANTS_OBJECT, node->name,
|
||||
-1);
|
||||
|
||||
@ -509,11 +507,10 @@ fill_descendants_tree (Application *app)
|
||||
}
|
||||
|
||||
tree_store =
|
||||
gtk_tree_store_new (5,
|
||||
gtk_tree_store_new (4,
|
||||
G_TYPE_STRING,
|
||||
G_TYPE_DOUBLE,
|
||||
G_TYPE_DOUBLE,
|
||||
G_TYPE_DOUBLE,
|
||||
G_TYPE_POINTER);
|
||||
|
||||
if (app->profile)
|
||||
|
||||
Reference in New Issue
Block a user