From: Samuel Pitoiset Date: Tue, 1 Nov 2016 18:22:37 +0000 (+0100) Subject: nvc0: sort performance metrics alphabetically X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b58d85bac8ccf1a6a4493839c5905c5b567c4a7b;p=mesa.git nvc0: sort performance metrics alphabetically Signed-off-by: Samuel Pitoiset Reviewed-by: Ilia Mirkin --- 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 36534babaf9..6f02be30306 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c @@ -178,9 +178,9 @@ static const struct nvc0_hw_metric_query_cfg *sm20_hw_metric_queries[] = &sm20_branch_efficiency, &sm20_inst_per_wrap, &sm20_inst_replay_overhead, + &sm20_ipc, &sm20_issued_ipc, &sm20_issue_slot_utilization, - &sm20_ipc, }; /* ==== Compute capability 2.1 (GF108+ except GF110) ==== */ @@ -249,10 +249,10 @@ static const struct nvc0_hw_metric_query_cfg *sm21_hw_metric_queries[] = &sm21_inst_issued, &sm20_inst_per_wrap, &sm21_inst_replay_overhead, + &sm20_ipc, &sm21_issued_ipc, &sm21_issue_slots, &sm21_issue_slot_utilization, - &sm20_ipc, }; /* ==== Compute capability 3.0 (GK104/GK106/GK107) ==== */ @@ -321,10 +321,10 @@ static const struct nvc0_hw_metric_query_cfg *sm30_hw_metric_queries[] = &sm30_inst_issued, &sm20_inst_per_wrap, &sm30_inst_replay_overhead, + &sm20_ipc, &sm30_issued_ipc, &sm30_issue_slots, &sm30_issue_slot_utilization, - &sm20_ipc, &sm30_shared_replay_overhead, }; @@ -335,10 +335,10 @@ static const struct nvc0_hw_metric_query_cfg *sm35_hw_metric_queries[] = &sm30_inst_issued, &sm20_inst_per_wrap, &sm30_inst_replay_overhead, + &sm20_ipc, &sm30_issued_ipc, &sm30_inst_issued, &sm30_issue_slot_utilization, - &sm20_ipc, &sm30_shared_replay_overhead, };