diff options
author | Soren Sandmann <sandmann@redhat.com> | 2005-10-30 20:14:31 +0000 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@src.gnome.org> | 2005-10-30 20:14:31 +0000 |
commit | dff4affaab5c59a642d49a8a4646008e14c419f0 (patch) | |
tree | bfd85b1bd30b02514e238f1abb09d4362c844b3b /profile.h | |
parent | 3783be00a874998651325a14ef68bacba4e295e0 (diff) |
Merge stackstash-reorg branch into HEAD
2005-10-30 Soren Sandmann <sandmann@redhat.com>
* Merge stackstash-reorg branch into HEAD
Diffstat (limited to 'profile.h')
-rw-r--r-- | profile.h | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -17,9 +17,10 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#ifndef PROFILE_H +#define PROFILE_H + #include <glib.h> -#include "binfile.h" -#include "process.h" #include "stackstash.h" typedef struct Profile Profile; @@ -37,7 +38,7 @@ struct ProfileObject struct ProfileDescendant { - ProfileObject * object; + char * name; guint self; guint total; guint non_recursion; @@ -51,7 +52,7 @@ struct ProfileDescendant struct ProfileCaller { - ProfileObject * object; /* can be NULL */ + char * name; guint total; guint self; @@ -63,9 +64,9 @@ void profile_free (Profile *profile); gint profile_get_size (Profile *profile); GList * profile_get_objects (Profile *profile); ProfileDescendant *profile_create_descendants (Profile *prf, - ProfileObject *object); + char *object); ProfileCaller * profile_list_callers (Profile *profile, - ProfileObject *callee); + char *object); void profile_caller_free (ProfileCaller *caller); void profile_descendant_free (ProfileDescendant *descendant); @@ -74,3 +75,5 @@ gboolean profile_save (Profile *profile, GError **err); Profile * profile_load (const char *filename, GError **err); + +#endif /* PROFILE_H */ |