summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2016-05-02 22:12:43 +0200
committerSamuel Pitoiset <[email protected]>2016-05-03 23:18:50 +0200
commit10ec27760a4beae0d165d6dfd2e4af4b21ae173a (patch)
treed2851fa5c77b6e106e42c99fca292095f32aeea0 /src/gallium/drivers/nouveau
parent64937615a05a275443d0ae184faa377f35ebfd1f (diff)
nvc0: display some performance metrics with a percentage
This makes more sense for them. Signed-off-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau')
-rw-r--r--src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c b/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c
index ed4ab9f7424..0b633973e5d 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c
@@ -30,14 +30,14 @@ struct nvc0_hw_metric_cfg {
const char *name;
enum pipe_driver_query_type type;
} nvc0_hw_metric_queries[] = {
- _Q(ACHIEVED_OCCUPANCY, "metric-achieved_occupancy", UINT64 ),
- _Q(BRANCH_EFFICIENCY, "metric-branch_efficiency", UINT64 ),
+ _Q(ACHIEVED_OCCUPANCY, "metric-achieved_occupancy", PERCENTAGE ),
+ _Q(BRANCH_EFFICIENCY, "metric-branch_efficiency", PERCENTAGE ),
_Q(INST_ISSUED, "metric-inst_issued", UINT64 ),
_Q(INST_PER_WRAP, "metric-inst_per_wrap", UINT64 ),
_Q(INST_REPLAY_OVERHEAD, "metric-inst_replay_overhead", UINT64 ),
_Q(ISSUED_IPC, "metric-issued_ipc", UINT64 ),
_Q(ISSUE_SLOTS, "metric-issue_slots", UINT64 ),
- _Q(ISSUE_SLOT_UTILIZATION, "metric-issue_slot_utilization", UINT64 ),
+ _Q(ISSUE_SLOT_UTILIZATION, "metric-issue_slot_utilization", PERCENTAGE ),
_Q(IPC, "metric-ipc", UINT64 ),
_Q(SHARED_REPLAY_OVERHEAD, "metric-shared_replay_overhead", UINT64 ),
};