pufreq: create a helper function to get CPU utilization. Picked from @…

…stratosk

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Signed-off-by: Jake Weinstein <xboxlover360@gmail.com>