tools/power turbostat: Make the energy variable to be 64 bit
authorChen Yu <yu.c.chen@intel.com>
Sat, 18 Apr 2020 08:31:47 +0000 (16:31 +0800)
committerLen Brown <len.brown@intel.com>
Thu, 3 Sep 2020 17:57:07 +0000 (13:57 -0400)
commit7c2ccc507bd44d17227930181f937b2066565349
treeabf3d5bade29a03c9db606f52bde1e38825c9e0b
parent9aefc2cda6353f48708415d9adc5dff4deb73412
tools/power turbostat: Make the energy variable to be 64 bit

Change the energy variable from 32bit to 64bit,
so that it can record long time duration.
After this conversion, adjust the DELTA_WRAP32() accordingly.

Signed-off-by: Chen Yu <yu.c.chen@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c