i965: perf: fix a counter return type on hsw
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 13 Mar 2018 11:45:12 +0000 (11:45 +0000)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 20 Mar 2018 11:36:13 +0000 (11:36 +0000)
The equation code computes a float (percentage) yet the return type
was an uint64_t.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_oa_hsw.xml

index ebc2bd791433865fa7b43c5e4568a93e6dda86d6..861cc1212a7cead33e9202b0c8ddecb7511ffd3e 100644 (file)
              />
     <counter name="VS EU Stall"
              description="The percentage of time in which vertex shaders were stalled on the EUs."
-             data_type="uint64"
+             data_type="float"
              max_equation="100"
              equation="A 3 READ $EuCoresTotalCount UDIV 100 UMUL $GpuCoreClocks FDIV"
              underscore_name="vs_eu_stall"