30 lines
1.1 KiB
Diff
30 lines
1.1 KiB
Diff
|
--- gegl/process/gegl-eval-visitor.c 2009-06-21 12:48:02.000000000 -0400
|
||
|
+++ gegl/process/gegl-eval-visitor.c.new 2010-01-24 20:57:51.928143015 -0500
|
||
|
@@ -56,8 +56,6 @@
|
||
|
{
|
||
|
}
|
||
|
|
||
|
-extern long babl_total_usecs;
|
||
|
-
|
||
|
/* this is the visitor that does the real computations for GEGL */
|
||
|
static void
|
||
|
gegl_eval_visitor_visit_pad (GeglVisitor *self,
|
||
|
@@ -83,17 +81,14 @@
|
||
|
else
|
||
|
{
|
||
|
glong time = gegl_ticks ();
|
||
|
- glong babl_time = babl_total_usecs;
|
||
|
|
||
|
/* Make the operation do it's actual processing */
|
||
|
GEGL_NOTE (GEGL_DEBUG_PROCESS, "Processing pad '%s' on \"%s\"", gegl_pad_get_name (pad), gegl_node_get_debug_name (node));
|
||
|
gegl_operation_process (operation, context, gegl_pad_get_name (pad),
|
||
|
&context->result_rect);
|
||
|
- babl_time = babl_total_usecs - babl_time;
|
||
|
time = gegl_ticks () - time;
|
||
|
|
||
|
gegl_instrument ("process", gegl_node_get_operation (node), time);
|
||
|
- gegl_instrument (gegl_node_get_operation (node), "babl", babl_time);
|
||
|
}
|
||
|
}
|
||
|
else if (gegl_pad_is_input (pad))
|