]> git.cworth.org Git - fips/commitdiff
Add support for performance counters of types other than uint32_t
authorCarl Worth <cworth@cworth.org>
Wed, 23 Oct 2013 16:23:44 +0000 (09:23 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 23 Oct 2013 23:17:48 +0000 (16:17 -0700)
The AMD_performance_monitor extension also allows counters of type
uin64_t, float, and percentage (which is the same data-type as float).

Fips was already storing the expected type in the group's
counter_types array, so it's a simple matter to look at that and read
a value of the expected type.


No differences found