< prev index next >

src/java.desktop/share/classes/sun/java2d/loops/FillRect.java

Print this page
rev 55352 : JB_base_webrev

*** 123,132 **** --- 123,136 ---- } public void FillRect(SunGraphics2D sg2d, SurfaceData dest, int x, int y, int w, int h) { + if ((traceflags & TRACEPTIME) == 0) { tracePrimitive(target); + } + long time = System.nanoTime(); target.FillRect(sg2d, dest, x, y, w, h); + tracePrimitiveTime(target, System.nanoTime() - time); } } }
< prev index next >