Home
last modified time | relevance | path

Searched refs:last_count (Results 1 – 2 of 2) sorted by relevance

/hardware/google/pixel/pixelstats/
DMitigationStatsReporter.cpp61 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()
[all …]
/hardware/google/pixel/pixelstats/include/pixelstats/
DMitigationStatsReporter.h80 bool logMitigationCount(const std::string kMitigationDir, struct MitigationCount *last_count);