13 dofile("/tmp/lua-output")
15 io.write("Number of clips: ", clips, "\n");
16 io.write("Number of draws: ", draws, "\n");
17 io.write("Number of clipped paths: ", clipPaths, "\n");
18 io.write("Number of drawn paths: ", drawPaths, "\n");
19 io.write("Number of clipped software paths: ", swClipPaths, "\n");
20 io.write("Number of drawn software paths: ", swDrawPaths, "\n");
24 io.write("Number of SKPs total: ", skpsTotal, "\n")
25 io.write("Number of SKPs that draw paths: ", skpsWithPath, "\n")
26 io.write("Number of SKPs that draw SW paths: ", skpsWithSWPath, "\n")
31 totalSWPaths = swDrawPaths + swClipPaths
32 totalPaths = drawPaths + clipPaths
34 io.write("Percentage of paths needing software: ", (100*(totalSWPaths / totalPaths)), "\n")
35 io.write("Percentage of draws/clips needing software: ",
36 (100*(totalSWPaths / (draws + clips))), "\n")
40 io.write("Percentage of SKPs that draw paths: ", (100*(skpsWithPath / skpsTotal)), "\n")
41 io.write("Percentage of SKPs that draw SW paths: ", (100*(skpsWithSWPath / skpsTotal)), "\n")