From 10ec27760a4beae0d165d6dfd2e4af4b21ae173a Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Mon, 2 May 2016 22:12:43 +0200 Subject: [PATCH] nvc0: display some performance metrics with a percentage This makes more sense for them. Signed-off-by: Samuel Pitoiset --- src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c | 6 +++--- 1 file 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 ), }; -- 2.30.2