gallium/hud: Add support for CPU frequency monitoring
authorSteven Toth <stoth@kernellabs.com>
Fri, 30 Sep 2016 11:58:00 +0000 (05:58 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 30 Sep 2016 21:18:46 +0000 (15:18 -0600)
commite99b9395befe5b8612df3163b4deec2a0c0cb702
treefd87cd03eb3d1c3b44a737b70223213739daa17d
parent7b87190d2b778952713a02a075fb05f8b5803ca9
gallium/hud: Add support for CPU frequency monitoring

Detect all of the CPUs in the system. Expose metrics
for min, max and current frequency in Hz.

Signed-off-by: Steven Toth <stoth@kernellabs.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/Makefile.sources
src/gallium/auxiliary/hud/hud_context.c
src/gallium/auxiliary/hud/hud_cpufreq.c [new file with mode: 0644]
src/gallium/auxiliary/hud/hud_private.h