@@ -292,7 +292,10 @@ namespace bbiwarg.Graphics
GL.TexCoord2(0.0, 1.0); GL.Vertex3(size_2 + gap, -size_2, -0.5);
GL.End();
+ Timer.start("swapBuffers");
SwapBuffers();
+ Timer.stop("swapBuffers");
+
Timer.stop("outputTextures");
Timer.stop("onRenderFrame");
@@ -37,7 +37,7 @@ namespace bbiwarg.Utility
}
public static void output(String name) {
- Console.WriteLine("name:" + name + "\t" + "mean:" + (sumTimes[name] / Math.Max(numTimes[name],1)) + "\t" + "min:" + minTimes[name] + "\t" + "max:" + maxTimes[name]);
+ Console.WriteLine("name:" + name + "\t" + "avg:" + (sumTimes[name] / Math.Max(numTimes[name],1)) + "\t" + "min:" + minTimes[name] + "\t" + "max:" + maxTimes[name]);
public static void outputAll() {