Home
last modified time | relevance | path

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

/hardware/google/pixel/health/
DCycleCountBackupRestore.cpp35 hw_bins_ = new int[nb_buckets](); in CycleCountBackupRestore()
42 Read(sysfs_path_, hw_bins_); in Restore()
86 Read(sysfs_path_, hw_bins_); in Backup()
131 if (hw_bins_[i] < sw_bins_[i]) { in UpdateAndSave()
132 hw_bins_[i] = sw_bins_[i]; in UpdateAndSave()
134 } else if (hw_bins_[i] > sw_bins_[i]) { in UpdateAndSave()
135 sw_bins_[i] = hw_bins_[i]; in UpdateAndSave()
140 Write(hw_bins_, sysfs_path_); in UpdateAndSave()
/hardware/google/pixel/health/include/pixelhealth/
DCycleCountBackupRestore.h42 int *hw_bins_; variable