diff options
author | Christoph Bumiller <[email protected]> | 2013-04-01 17:25:40 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2013-04-03 12:54:43 +0200 |
commit | 7bac075f25b803039fa8629028e15c5184cc8aad (patch) | |
tree | 432a2daa0c4b7154beec3e23e14b690938b72827 /src/gallium/drivers/nvc0/nvc0_screen.h | |
parent | 198f514aa6f08bc43a3002519843b0fe94f340bd (diff) |
nvc0: add some metrics to driver specific queries
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_screen.h')
-rw-r--r-- | src/gallium/drivers/nvc0/nvc0_screen.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_screen.h b/src/gallium/drivers/nvc0/nvc0_screen.h index 8ba993fc58b..08fecc072a4 100644 --- a/src/gallium/drivers/nvc0/nvc0_screen.h +++ b/src/gallium/drivers/nvc0/nvc0_screen.h @@ -87,7 +87,7 @@ nvc0_screen(struct pipe_screen *screen) /* Performance counter queries: */ -#define NVE4_PM_QUERY_COUNT 32 +#define NVE4_PM_QUERY_COUNT 38 #define NVE4_PM_QUERY(i) (PIPE_QUERY_DRIVER_SPECIFIC + (i)) #define NVE4_PM_QUERY_LAST NVE4_PM_QUERY(NVE4_PM_QUERY_COUNT - 1) #define NVE4_PM_QUERY_PROF_TRIGGER_0 0 @@ -122,7 +122,12 @@ nvc0_screen(struct pipe_screen *screen) #define NVE4_PM_QUERY_BRANCH_DIVERGENT 29 #define NVE4_PM_QUERY_ACTIVE_WARPS 30 #define NVE4_PM_QUERY_ACTIVE_CYCLES 31 -/* Engines (PCOUNTER) */ +#define NVE4_PM_QUERY_METRIC_IPC 32 +#define NVE4_PM_QUERY_METRIC_IPAC 33 +#define NVE4_PM_QUERY_METRIC_IPEC 34 +#define NVE4_PM_QUERY_METRIC_MP_OCCUPANCY 35 +#define NVE4_PM_QUERY_METRIC_MP_EFFICIENCY 36 +#define NVE4_PM_QUERY_METRIC_INST_REPLAY_OHEAD 37 /* #define NVE4_PM_QUERY_GR_IDLE 50 #define NVE4_PM_QUERY_BSP_IDLE 51 |