Module: Mesa
Branch: master
Commit: 276837cbe43f9b25c9e35966ab4d7d1ee0d67757
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=276837cbe43f9b25c9e35966ab4d7d1ee0d67757

Author: Samuel Pitoiset <samuel.pitoi...@gmail.com>
Date:   Tue Dec 15 22:47:05 2015 +0100

nvc0: remove old comment related to metric calculations

I forgot to remove it when I refactored all performance metrics.

Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com>

---

 src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_sm.c |   11 -----------
 1 file changed, 11 deletions(-)

diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_sm.c 
b/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_sm.c
index 7d1e75f..08c8103 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_sm.c
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_sm.c
@@ -1075,17 +1075,6 @@ nve4_hw_sm_query_read_data(uint32_t count[32][8],
    return true;
 }
 
-/* Metric calculations:
- * sum(x) ... sum of x over all MPs
- * avg(x) ... average of x over all MPs
- *
- * IPC              : sum(inst_executed) / clock
- * INST_REPLAY_OHEAD: (sum(inst_issued) - sum(inst_executed)) / 
sum(inst_issued)
- * MP_OCCUPANCY     : avg((active_warps / 64) / active_cycles)
- * MP_EFFICIENCY    : avg(active_cycles / clock)
- *
- * NOTE: Interpretation of IPC requires knowledge of MP count.
- */
 static boolean
 nvc0_hw_sm_get_query_result(struct nvc0_context *nvc0, struct nvc0_hw_query 
*hq,
                             boolean wait, union pipe_query_result *result)

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to