mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-06 10:50:08 +00:00
4b4c0fe86c
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.
17 lines
448 B
C
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);
|