summaryrefslogtreecommitdiff
path: root/src/visualizer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/visualizer.h')
-rw-r--r--src/visualizer.h39
1 files changed, 21 insertions, 18 deletions
diff --git a/src/visualizer.h b/src/visualizer.h
index 1798f4c..10acb70 100644
--- a/src/visualizer.h
+++ b/src/visualizer.h
@@ -46,24 +46,27 @@ enum _HgMemoryChunkState {
};
-GType hg_memory_visualizer_get_type (void) G_GNUC_CONST;
-GtkWidget *hg_memory_visualizer_new (void);
-void hg_memory_visualizer_set_max_size (HgMemoryVisualizer *visual,
- const gchar *name,
- gsize size);
-gsize hg_memory_visualizer_get_max_size (HgMemoryVisualizer *visual,
- const gchar *name);
-void hg_memory_visualizer_set_heap_state (HgMemoryVisualizer *visual,
- const gchar *name,
- HgHeap *heap);
-void hg_memory_visualizer_set_chunk_state(HgMemoryVisualizer *visual,
- const gchar *name,
- gint heap_id,
- gsize offset,
- gsize size,
- HgMemoryChunkState state);
-void hg_memory_visualizer_change_pool (HgMemoryVisualizer *visual,
- const gchar *name);
+GType hg_memory_visualizer_get_type (void) G_GNUC_CONST;
+GtkWidget *hg_memory_visualizer_new (void);
+void hg_memory_visualizer_set_max_size (HgMemoryVisualizer *visual,
+ const gchar *name,
+ gsize size);
+gsize hg_memory_visualizer_get_max_size (HgMemoryVisualizer *visual,
+ const gchar *name);
+void hg_memory_visualizer_set_heap_state (HgMemoryVisualizer *visual,
+ const gchar *name,
+ HgHeap *heap);
+void hg_memory_visualizer_set_chunk_state (HgMemoryVisualizer *visual,
+ const gchar *name,
+ gint heap_id,
+ gsize offset,
+ gsize size,
+ HgMemoryChunkState state);
+void hg_memory_visualizer_change_pool (HgMemoryVisualizer *visual,
+ const gchar *name);
+gsize hg_memory_visualizer_get_used_size (HgMemoryVisualizer *visual,
+ const gchar *name);
+const gchar *hg_memory_visualizer_get_current_pool_name(HgMemoryVisualizer *visual);
G_END_DECLS