libogc
v2.9.0
|
Macros | |
#define | GX_PERF0_AVG_QUAD_CNT 33 |
#define | GX_PERF0_CLIP_CLKS 2 |
#define | GX_PERF0_CLIP_RATIO 10 |
#define | GX_PERF0_CLIP_VTX 1 |
#define | GX_PERF0_CLOCKS 34 |
#define | GX_PERF0_NONE 35 |
#define | GX_PERF0_QUAD_0CVG 27 |
#define | GX_PERF0_QUAD_1CVG 29 |
#define | GX_PERF0_QUAD_2CVG 30 |
#define | GX_PERF0_QUAD_3CVG 31 |
#define | GX_PERF0_QUAD_4CVG 32 |
#define | GX_PERF0_QUAD_NON0CVG 28 |
#define | GX_PERF0_TRIANGLES 11 |
#define | GX_PERF0_TRIANGLES_0CLR 24 |
#define | GX_PERF0_TRIANGLES_0TEX 15 |
#define | GX_PERF0_TRIANGLES_1CLR 25 |
#define | GX_PERF0_TRIANGLES_1TEX 16 |
#define | GX_PERF0_TRIANGLES_2CLR 26 |
#define | GX_PERF0_TRIANGLES_2TEX 17 |
#define | GX_PERF0_TRIANGLES_3TEX 18 |
#define | GX_PERF0_TRIANGLES_4TEX 19 |
#define | GX_PERF0_TRIANGLES_5TEX 20 |
#define | GX_PERF0_TRIANGLES_6TEX 21 |
#define | GX_PERF0_TRIANGLES_7TEX 22 |
#define | GX_PERF0_TRIANGLES_8TEX 23 |
#define | GX_PERF0_TRIANGLES_CULLED 12 |
#define | GX_PERF0_TRIANGLES_PASSED 13 |
#define | GX_PERF0_TRIANGLES_SCISSORED 14 |
#define | GX_PERF0_VERTICES 0 |
#define | GX_PERF0_XF_BOT_CLKS 7 |
#define | GX_PERF0_XF_LIT_CLKS 6 |
#define | GX_PERF0_XF_REGLD_CLKS 8 |
#define | GX_PERF0_XF_REGRD_CLKS 9 |
#define | GX_PERF0_XF_WAIT_IN 3 |
#define | GX_PERF0_XF_WAIT_OUT 4 |
#define | GX_PERF0_XF_XFRM_CLKS 5 |
Performance counter 0 is used to measure attributes dealing with geometry and primitives, such as triangle counts and clipping ratios.
GX_PERF0_XF_*
measure how many GP cycles are spent in each stage of the XF.GX_PERF0_TRIANGLES_*
) allow counting triangles under specific conditions or with specific attributes.GX_PERF0_TRIANGLES_*TEX
count triangles based on the number of texture coordinates supplied; GX_PERF0_TRIANGLES_*CLR
count triangles based on the number of colors supplied.#define GX_PERF0_AVG_QUAD_CNT 33 |
Average quad count; average based on what is unknown
#define GX_PERF0_CLIP_CLKS 2 |
Number of GP clocks spent clipping.
#define GX_PERF0_CLIP_VTX 1 |
Number of vertices that were clipped by the GP.
#define GX_PERF0_CLOCKS 34 |
Number of GP clocks that have elapsed since the previous call to GX_ReadGP0Metric().
#define GX_PERF0_NONE 35 |
Disables performance measurement for perf0 and resets the counter.
#define GX_PERF0_QUAD_0CVG 27 |
Number of quads having zero coverage.
#define GX_PERF0_QUAD_1CVG 29 |
Number of quads with 1 pixel coverage.
#define GX_PERF0_QUAD_2CVG 30 |
Number of quads with 2 pixel coverage.
#define GX_PERF0_QUAD_3CVG 31 |
Number of quads with 3 pixel coverage.
#define GX_PERF0_QUAD_4CVG 32 |
Number of quads with 4 pixel coverage.
#define GX_PERF0_QUAD_NON0CVG 28 |
Number of quads having coverage greater than zero.
#define GX_PERF0_TRIANGLES 11 |
Number of triangles.
#define GX_PERF0_TRIANGLES_CULLED 12 |
Number of triangles that failed the front-face/back-face culling test.
#define GX_PERF0_TRIANGLES_PASSED 13 |
Number of triangles that passed the front-face/back-face culling test.
#define GX_PERF0_TRIANGLES_SCISSORED 14 |
Number of triangles that are scissored.
#define GX_PERF0_VERTICES 0 |
Number of vertices processed by the GP.
#define GX_PERF0_XF_BOT_CLKS 7 |
Number of cycles the bottom of the pipe (result combiner) is busy.
#define GX_PERF0_XF_LIT_CLKS 6 |
Number of cycles the lighting engine is busy.
#define GX_PERF0_XF_REGLD_CLKS 8 |
Number of cycles are spent loading XF state registers.
#define GX_PERF0_XF_REGRD_CLKS 9 |
Number of cycles the XF reads the state registers.
#define GX_PERF0_XF_WAIT_IN 3 |
Number of cycles the XF is waiting on input. If the XF is waiting a large percentage of the total time, it may indicate that the CPU is not supplying data fast enough to keep the GP busy.
#define GX_PERF0_XF_WAIT_OUT 4 |
Number of cycles the XF waits to send its output to the rest of the GP pipeline. If the XF cannot output, it may indicate that the GP is currently fill-rate limited.
#define GX_PERF0_XF_XFRM_CLKS 5 |
Number of cycles the transform engine is busy.