Home
last modified time | relevance | path

Searched refs:mPath (Results 1 – 14 of 14) sorted by relevance

/device/google/coral/powerstats/
DIaxxxStateResidencyDataProvider.cpp36 : mPath("/dev/iaxxx-module-celldrv"), mPowerEntityId(id) {} in IaxxxStateResidencyDataProvider()
40 android::base::unique_fd devNode(open(mPath.c_str(), O_RDWR)); in getResults()
42 PLOG(ERROR) << __func__ << ":Failed to open file " << mPath; in getResults()
49 PLOG(ERROR) << __func__ << "Failed to retrieve stats from " << mPath; in getResults()
DOsloStateResidencyDataProvider.cpp37 : mPath("/dev/iaxxx-module-celldrv"), mPowerEntityId(id) {} in OsloStateResidencyDataProvider()
41 android::base::unique_fd devNode(open(mPath.c_str(), O_RDWR)); in getResults()
43 PLOG(ERROR) << __func__ << ":Failed to open file " << mPath; in getResults()
DOsloStateResidencyDataProvider.h37 const std::string mPath;
DIaxxxStateResidencyDataProvider.h40 const std::string mPath;
/device/google/gs-common/powerstats/
DTpuDvfsStateResidencyDataProvider.cpp32 : mPath(path), mFrequencies(std::move(frequencies)), mClockRate(clockRate) {} in TpuDvfsStateResidencyDataProvider()
37 std::unique_ptr<FILE, decltype(&fclose)> fp(fopen(mPath.c_str(), "r"), fclose); in getStateResidencies()
39 PLOG(ERROR) << "Failed to open file " << mPath; in getStateResidencies()
73 PLOG(ERROR) << "TPU frequency " << split << " is not found in " << mPath; in getStateResidencies()
DDevfreqStateResidencyDataProvider.cpp30 const std::string& path) : mName(name + nameSuffix), mPath(path + pathSuffix) {} in DevfreqStateResidencyDataProvider()
44 std::unique_ptr<FILE, decltype(&fclose)> fp(fopen(mPath.c_str(), "r"), fclose); in parseTimeInState()
46 PLOG(ERROR) << "Failed to open file " << mPath; in parseTimeInState()
59 PLOG(ERROR) << "Failed to parse " << mPath; in parseTimeInState()
DDvfsStateResidencyDataProvider.cpp40 : mPowerEntities(std::move(cfgs)), mPath(std::move(path)), mClockRate(clockRate) {} in DvfsStateResidencyDataProvider()
77 std::unique_ptr<FILE, decltype(&fclose)> fp(fopen(mPath.c_str(), "r"), fclose); in getStateResidencies()
79 PLOG(ERROR) << __func__ << ":Failed to open file " << mPath; in getStateResidencies()
DDisplayMrrStateResidencyDataProvider.cpp38 const std::string& name, const std::string& path) : mName(name), mPath(path) { in DisplayMrrStateResidencyDataProvider()
40 std::string statePath = mPath + AVAILABLE_STATE; in DisplayMrrStateResidencyDataProvider()
99 std::string path = mPath + TIME_IN_STATE; in getStateResidencies()
DCpupmStateResidencyDataProvider.cpp41 : mPath(std::move(path)), in CpupmStateResidencyDataProvider()
81 std::unique_ptr<FILE, decltype(&fclose)> fp(fopen(mPath.c_str(), "r"), fclose); in getStateResidencies()
83 PLOG(ERROR) << __func__ << ":Failed to open file " << mPath; in getStateResidencies()
/device/google/gs-common/powerstats/include/
DTpuDvfsStateResidencyDataProvider.h44 const std::string mPath;
DDevfreqStateResidencyDataProvider.h46 const std::string mPath; variable
DDvfsStateResidencyDataProvider.h62 const std::string mPath; variable
DDisplayMrrStateResidencyDataProvider.h60 const std::string mPath; variable
DCpupmStateResidencyDataProvider.h70 const std::string mPath; variable