Logo Search packages:      
Sourcecode: jmp version File versions  Download package

heapgraph.h

#ifndef HEAPGRAPH_H__
#define HEAPGRAPH_H__

#include <jni.h>
#include <gtk/gtk.h>

/** Create a widget that holds the heap graph. */
GtkWidget *get_heap_graph ();

/** Add a new heap size and filtered heap size value
 *  To the list of values. 
 */
void add_heap_size_value (int current_heap_size, 
                    int current_filtered_heap_size, 
                    jlong heap_size);

/** Repaint the heap graph. 
 *  Normally you should not need to call this method.
 */
void update_heap_graph ();

#endif /* HEAPGRAPH_H__ */

/* Emacs Local Variables: */
/* Emacs mode:C */
/* Emacs c-indentation-style:"gnu" */
/* Emacs c-hanging-braces-alist:((brace-list-open)(brace-entry-open)(defun-open after)(substatement-open after)(block-close . c-snug-do-while)(extern-lang-open after)) */
/* Emacs c-cleanup-list:(brace-else-brace brace-elseif-brace space-before-funcall) */
/* Emacs c-basic-offset:4 */
/* Emacs End: */

Generated by  Doxygen 1.6.0   Back to index