gallium/hud: compute cpu load, percent with doubles
authorBrian Paul <brianp@vmware.com>
Thu, 11 Jan 2018 16:56:12 +0000 (09:56 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 17 Jan 2018 18:17:56 +0000 (11:17 -0700)
commitf774f2b52f56cb10fd7e4354e7c3861d370a58a8
tree6e9d10fd52763748e482741a7b88389963280b74
parent541f569a193e6a8b426c7d0f4f6b7533db571305
gallium/hud: compute cpu load, percent with doubles

The hud_graph_add_value() function takes a double precision value,
so compute it that way.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/hud/hud_cpu.c