Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dcmd_stat.cpp309 std::string governor_path = devfreq_dir + name + "/governor"; in Use() local
310 if (IsRegularFile(governor_path)) { in Use()
312 if (!android::base::ReadFileToString(governor_path, &governor)) { in Use()
313 LOG(ERROR) << "failed to read " << governor_path; in Use()
318 if (!android::base::WriteStringToFile("performance", governor_path)) { in Use()
319 PLOG(ERROR) << "failed to write " << governor_path; in Use()
322 mem_latency_governor_paths_.emplace_back(std::move(governor_path)); in Use()