Home
last modified time | relevance | path

Searched refs:cur_data (Results 1 – 4 of 4) sorted by relevance

/hardware/google/pixel/pixelstats/
DDisplayStatsReporter.cpp139 struct DisplayPanelErrorStats cur_data = prev_panel_data_; in logDisplayPanelErrorStats() local
142 if (!captureDisplayPanelErrorStats(display_stats_paths, &cur_data)) { in logDisplayPanelErrorStats()
143 prev_panel_data_ = cur_data; in logDisplayPanelErrorStats()
153 cur_data.primary_error_count_te - prev_panel_data_.primary_error_count_te, in logDisplayPanelErrorStats()
164 cur_data.primary_error_count_unknown - prev_panel_data_.primary_error_count_unknown, in logDisplayPanelErrorStats()
174 prev_panel_data_ = cur_data; in logDisplayPanelErrorStats()
216 int64_t cur_data[DISPLAY_PORT_ERROR_STATS_SIZE]; in logDisplayPortErrorStats() local
220 memcpy(cur_data, prev_dp_data_, sizeof(prev_dp_data_)); in logDisplayPortErrorStats()
221 if (!captureDisplayPortErrorStats(displayport_stats_paths, &cur_data[0])) { in logDisplayPortErrorStats()
222 memcpy(prev_dp_data_, cur_data, sizeof(cur_data)); in logDisplayPortErrorStats()
[all …]
DThermalStatsReporter.cpp133 struct ThermalDfsCounts cur_data = prev_data; in logThermalDfsStats() local
135 if (!captureThermalDfsStats(thermal_stats_paths, &cur_data)) { in logThermalDfsStats()
136 prev_data = cur_data; in logThermalDfsStats()
146 dfs_count = std::min<int64_t>(cur_data.big_count - prev_data.big_count, max_dfs_count); in logThermalDfsStats()
150 dfs_count = std::min<int64_t>(cur_data.mid_count - prev_data.mid_count, max_dfs_count); in logThermalDfsStats()
154 dfs_count = std::min<int64_t>(cur_data.little_count - prev_data.little_count, max_dfs_count); in logThermalDfsStats()
158 dfs_count = std::min<int64_t>(cur_data.gpu_count - prev_data.gpu_count, max_dfs_count); in logThermalDfsStats()
162 dfs_count = std::min<int64_t>(cur_data.tpu_count - prev_data.tpu_count, max_dfs_count); in logThermalDfsStats()
166 dfs_count = std::min<int64_t>(cur_data.aur_count - prev_data.aur_count, max_dfs_count); in logThermalDfsStats()
170 prev_data = cur_data; in logThermalDfsStats()
/hardware/google/pixel/pixelstats/include/pixelstats/
DDisplayStatsReporter.h70 struct DisplayPanelErrorStats *cur_data);
94 int64_t *cur_data);
118 int64_t *cur_data);
DThermalStatsReporter.h62 struct ThermalDfsCounts *cur_data);