Updated Spanish translation
[anjuta-git-plugin.git] / plugins / profiler / gprof-call-graph-block-entry.h
blob9fe925de80c9e355d326e3b7d1a674d045ff73b1
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3 * gprof-call-graph-block-entry.h
4 * Copyright (C) James Liggett 2006 <jrliggett@cox.net>
5 *
6 * gprof-call-graph-block-entry.h is free software.
7 *
8 * You may redistribute it and/or modify it under the terms of the
9 * GNU General Public License, as published by the Free Software
10 * Foundation; either version 2, or (at your option) any later version.
12 * plugin.c is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 * See the GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with plugin.c. See the file "COPYING". If not,
19 * write to: The Free Software Foundation, Inc.,
20 * 51 Franklin Street, Fifth Floor,
21 * Boston, MA 02110-1301, USA.
24 #ifndef _GPROF_CALL_GRAPH_BLOCK_ENTRY
25 #define _GPROF_CALL_GRAPH_BLOCK_ENTRY
27 #include <glib.h>
28 #include <glib-object.h>
29 #include <stdlib.h>
31 G_BEGIN_DECLS
33 typedef struct _GProfCallGraphBlockEntry GProfCallGraphBlockEntry;
34 typedef struct _GProfCallGraphBlockEntryClass GProfCallGraphBlockEntryClass;
35 typedef struct _GProfCallGraphBlockEntryPriv GProfCallGraphBlockEntryPriv;
37 #define GPROF_CALL_GRAPH_BLOCK_ENTRY_TYPE (gprof_call_graph_block_entry_get_type ())
38 #define GPROF_CALL_GRAPH_BLOCK_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GPROF_CALL_GRAPH_BLOCK_ENTRY_TYPE, GProfCallGraphBlockEntry))
39 #define GPROF_CALL_GRAPH_BLOCK_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GPROF_CALL_GRAPH_BLOCK_ENTRY_TYPE, GProfCallGraphBlockEntryClass))
40 #define IS_GPROF_CALL_GRAPH_BLOCK_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GPROF_CALL_GRAPH_BLOCK_ENTRY_TYPE))
41 #define IS_GPROF_CALL_GRAPH_BLOCK_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GPROF_CALL_GRAPH_BLOCK_ENTRY_TYPE))
43 struct _GProfCallGraphBlockEntry
45 GObject parent;
46 GProfCallGraphBlockEntryPriv *priv;
49 struct _GProfCallGraphBlockEntryClass
51 GObjectClass parent_class;
54 GType gprof_call_graph_block_entry_get_type (void);
56 GProfCallGraphBlockEntry *gprof_call_graph_block_primary_entry_new (gchar **fields);
57 GProfCallGraphBlockEntry *gprof_call_graph_block_secondary_entry_new (gchar **fields);
58 void gprof_call_graph_block_entry_free (GProfCallGraphBlockEntry *self);
60 gfloat gprof_call_graph_block_entry_get_time_perc (GProfCallGraphBlockEntry *self);
61 gfloat gprof_call_graph_block_entry_get_self_sec (GProfCallGraphBlockEntry *self);
62 gfloat gprof_call_graph_block_entry_get_child_sec (GProfCallGraphBlockEntry *self);
63 gchar *gprof_call_graph_block_entry_get_calls (GProfCallGraphBlockEntry *self);
64 gchar *gprof_call_graph_block_entry_get_name (GProfCallGraphBlockEntry *self);
66 GProfCallGraphBlockEntry *gprof_call_graph_block_entry_get_next (GList *current_iter,
67 GList **next_iter);
69 G_END_DECLS
71 #endif