|
|
@ -22,7 +22,9 @@ std::vector<logData> graph_data;
|
|
|
|
|
|
|
|
|
|
|
|
void update_hw_info(struct swapchain_stats& sw_stats, struct overlay_params& params, uint32_t vendorID)
|
|
|
|
void update_hw_info(struct swapchain_stats& sw_stats, struct overlay_params& params, uint32_t vendorID)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Battery_Stats.update();
|
|
|
|
if (Battery_Stats.numBattery() > 0 ) {
|
|
|
|
|
|
|
|
Battery_Stats.update();
|
|
|
|
|
|
|
|
}
|
|
|
|
if (params.enabled[OVERLAY_PARAM_ENABLED_cpu_stats] || logger->is_active()) {
|
|
|
|
if (params.enabled[OVERLAY_PARAM_ENABLED_cpu_stats] || logger->is_active()) {
|
|
|
|
cpuStats.UpdateCPUData();
|
|
|
|
cpuStats.UpdateCPUData();
|
|
|
|
#ifdef __gnu_linux__
|
|
|
|
#ifdef __gnu_linux__
|
|
|
|