Lines Matching refs:last_count

61     struct MitigationCount last_count = {};  in logMitigationStatsPerHour()  local
64 if (!logMitigationCount(path, &last_count)) in logMitigationStatsPerHour()
70 tmp.set<VendorAtomValue::intValue>(last_count.batoilo_count - prev_count.batoilo_count); in logMitigationStatsPerHour()
72 tmp.set<VendorAtomValue::intValue>(last_count.vdroop1_count - prev_count.vdroop1_count); in logMitigationStatsPerHour()
74 tmp.set<VendorAtomValue::intValue>(last_count.vdroop2_count - prev_count.vdroop2_count); in logMitigationStatsPerHour()
76 tmp.set<VendorAtomValue::intValue>(last_count.smpl_warn_count - prev_count.smpl_warn_count); in logMitigationStatsPerHour()
78 tmp.set<VendorAtomValue::intValue>(last_count.ocp_cpu1_count - prev_count.ocp_cpu1_count); in logMitigationStatsPerHour()
80 tmp.set<VendorAtomValue::intValue>(last_count.ocp_cpu2_count - prev_count.ocp_cpu2_count); in logMitigationStatsPerHour()
82 tmp.set<VendorAtomValue::intValue>(last_count.ocp_gpu_count - prev_count.ocp_gpu_count); in logMitigationStatsPerHour()
84 tmp.set<VendorAtomValue::intValue>(last_count.ocp_tpu_count - prev_count.ocp_tpu_count); in logMitigationStatsPerHour()
86 tmp.set<VendorAtomValue::intValue>(last_count.soft_ocp_cpu1_count - in logMitigationStatsPerHour()
89 tmp.set<VendorAtomValue::intValue>(last_count.soft_ocp_cpu2_count - in logMitigationStatsPerHour()
92 tmp.set<VendorAtomValue::intValue>(last_count.soft_ocp_gpu_count - in logMitigationStatsPerHour()
95 tmp.set<VendorAtomValue::intValue>(last_count.soft_ocp_tpu_count - in logMitigationStatsPerHour()
123 prev_count = last_count; in logMitigationStatsPerHour()
162 struct MitigationCount *last_count) { in logMitigationCount() argument
165 &(last_count->batoilo_count))) in logMitigationCount()
167 send_stats |= (last_count->batoilo_count - prev_count.batoilo_count) > 0; in logMitigationCount()
169 &(last_count->ocp_cpu1_count))) in logMitigationCount()
171 send_stats |= (last_count->ocp_cpu1_count - prev_count.ocp_cpu1_count) > 0; in logMitigationCount()
173 &(last_count->ocp_cpu2_count))) in logMitigationCount()
175 send_stats |= (last_count->ocp_cpu2_count - prev_count.ocp_cpu2_count) > 0; in logMitigationCount()
177 &(last_count->ocp_gpu_count))) in logMitigationCount()
179 send_stats |= (last_count->ocp_gpu_count - prev_count.ocp_gpu_count) > 0; in logMitigationCount()
181 &(last_count->ocp_tpu_count))) in logMitigationCount()
183 send_stats |= (last_count->ocp_tpu_count - prev_count.ocp_tpu_count) > 0; in logMitigationCount()
185 &(last_count->smpl_warn_count))) in logMitigationCount()
187 send_stats |= (last_count->smpl_warn_count - prev_count.smpl_warn_count) > 0; in logMitigationCount()
189 &(last_count->soft_ocp_cpu1_count))) in logMitigationCount()
191 send_stats |= (last_count->soft_ocp_cpu1_count - prev_count.soft_ocp_cpu1_count) > 0; in logMitigationCount()
193 &(last_count->soft_ocp_cpu2_count))) in logMitigationCount()
195 send_stats |= (last_count->soft_ocp_cpu2_count - prev_count.soft_ocp_cpu2_count) > 0; in logMitigationCount()
197 &(last_count->soft_ocp_gpu_count))) in logMitigationCount()
199 send_stats |= (last_count->soft_ocp_gpu_count - prev_count.soft_ocp_gpu_count) > 0; in logMitigationCount()
201 &(last_count->soft_ocp_tpu_count))) in logMitigationCount()
203 send_stats |= (last_count->soft_ocp_tpu_count - prev_count.soft_ocp_tpu_count) > 0; in logMitigationCount()
205 &(last_count->vdroop1_count))) in logMitigationCount()
207 send_stats |= (last_count->vdroop1_count - prev_count.vdroop1_count) > 0; in logMitigationCount()
209 &(last_count->vdroop2_count))) in logMitigationCount()
211 send_stats |= (last_count->vdroop2_count - prev_count.vdroop2_count) > 0; in logMitigationCount()