Merge stackstash-reorg branch into HEAD

2005-10-30  Soren Sandmann <sandmann@redhat.com>

	* Merge stackstash-reorg branch into HEAD
This commit is contained in:
Soren Sandmann
2005-10-30 20:14:31 +00:00
committed by Søren Sandmann Pedersen
parent 3783be00a8
commit dff4affaab
15 changed files with 1098 additions and 934 deletions

View File

@ -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 */