gtk/perf/timers.h
Federico Mena Quintero 4b4c0fe86c New directory with the start of a framework for testing performance in
2005-07-26  Federico Mena Quintero  <federico@ximian.com>

	* perf/: New directory with the start of a framework for testing
	performance in GTK+.

	* Makefile.am (SRC_SUBDIRS): Added the perf directory.

	* configure.in (AC_OUTPUT): Generate perf/Makefile.
2005-07-26 18:46:01 +00:00

17 lines
448 B
C

#include <gtk/gtkwidget.h>
typedef enum
{
TIMER_REPORT_WIDGET_CREATION,
TIMER_REPORT_WIDGET_SHOW,
TIMER_REPORT_WIDGET_DESTRUCTION
} TimerReport;
typedef GtkWidget *(* TimerWidgetCreateFunc) (gpointer user_data);
typedef void (* TimerReportFunc) (TimerReport report, gdouble elapsed, gpointer user_data);
void timer_time_widget (TimerWidgetCreateFunc create_func,
TimerReportFunc report_func,
gpointer user_data);