#include #include #include #include static gfloat wrapped_sqrt (gfloat in, gpointer data) /* we could have used the user data */ { return sqrt (in); } static gfloat passthrough (gfloat in, gpointer data) { return in; } glong gegl_ticks (void); #define ITERATIONS 10 #define SAMPLES 10000000 gint main (int argc, gchar **argv) { gint i,j = 0; gfloat val; gfloat foo; gdouble sum = 0; gint count=0; GeglLookup *lookup; gint ticks; gfloat *rand = g_malloc (SAMPLES * sizeof (gfloat)); for (i=0;i