gallium/hud: add cpu graph support for Windows
authorBrian Paul <brianp@vmware.com>
Thu, 12 Nov 2015 16:06:25 +0000 (09:06 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 12 Nov 2015 16:11:15 +0000 (09:11 -0700)
commita02385cd691df9dd35844a727350db72b17f586b
tree1067f524bd8616c7865fb2297d5643e20f3518b2
parentf2fe6072617fd77f1abe213ff8fd2c233908b63d
gallium/hud: add cpu graph support for Windows

We support "cpu" but not "cpu#" because there's no good way of querying
per-cpu usage.  Also, the cpu usage is for the process, not the whole
system.

Original code cobbled together by Brian and then fixed/polished by Jose.

Signed-off-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/hud/hud_cpu.c