Home
last modified time | relevance | path

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

/device/google/gs-common/powerstats/
DTpuDvfsStateResidencyDataProvider.cpp32 : mPath(path), mFrequencies(std::move(frequencies)), mClockRate(clockRate) {} in TpuDvfsStateResidencyDataProvider()
44 for (int i = 0; i < mFrequencies.size(); i++) { in getStateResidencies()
69 found = std::find(mFrequencies.begin(), mFrequencies.end(), split); in getStateResidencies()
70 if (found != mFrequencies.end()) { in getStateResidencies()
71 stateIdxMap.push_back(found - mFrequencies.begin()); in getStateResidencies()
92 for (int32_t id = 0; id < mFrequencies.size(); id++) { in getInfo()
94 {.id = id, .name = std::to_string(std::atol(mFrequencies[id].c_str()) / 1000) + "MHz"}; in getInfo()
/device/google/gs-common/powerstats/include/
DTpuDvfsStateResidencyDataProvider.h45 const std::vector<std::string> mFrequencies; variable