Searched refs:CpuFreqInfo (Results 1 – 12 of 12) sorted by relevance
45 CpuFreqInfo::CpuFreqInfo(std::string cpu_dir_path) { in CpuFreqInfo() function in perfetto::CpuFreqInfo90 CpuFreqInfo::~CpuFreqInfo() = default;92 CpuFreqInfo::Range CpuFreqInfo::GetFreqs(uint32_t cpu) { in GetFreqs()103 uint32_t CpuFreqInfo::GetCpuFreqIndex(uint32_t cpu, uint32_t freq) { in GetCpuFreqIndex()114 std::string CpuFreqInfo::ReadFile(std::string path) { in ReadFile()
28 std::unique_ptr<CpuFreqInfo> GetCpuFreqInfo() { in GetCpuFreqInfo()29 return std::unique_ptr<CpuFreqInfo>( in GetCpuFreqInfo()36 std::vector<uint32_t> FreqsToVector(CpuFreqInfo::Range range) { in FreqsToVector()43 TEST_F(CpuFreqInfoTest, CpuFreqInfo) { in TEST_F() argument
28 class CpuFreqInfo {30 explicit CpuFreqInfo(std::string cpu_dir_path = "/sys/devices/system/cpu");31 virtual ~CpuFreqInfo();
71 std::unique_ptr<CpuFreqInfo> CpuFreqInfoForTesting::GetInstance() { in GetInstance()72 return std::unique_ptr<CpuFreqInfo>(new CpuFreqInfo(fake_cpu_dir_.path())); in GetInstance()
36 std::unique_ptr<CpuFreqInfo> GetInstance();
34 std::unique_ptr<CpuFreqInfo> cpu_freq_info);45 std::unique_ptr<CpuFreqInfo> cpu_freq_info_;
112 std::unique_ptr<CpuFreqInfo> cpu_freq_info) in TestSystemInfoDataSource()
50 std::unique_ptr<CpuFreqInfo> cpu_freq_info) in SystemInfoDataSource()
58 std::unique_ptr<CpuFreqInfo> cpu_freq_info);173 std::unique_ptr<CpuFreqInfo> cpu_freq_info_;
89 std::unique_ptr<CpuFreqInfo> cpu_freq_info) in ProcessStatsDataSource()
52 std::unique_ptr<CpuFreqInfo> cpu_freq_info) in TestProcessStatsDataSource()
274 std::unique_ptr<CpuFreqInfo>(new CpuFreqInfo()))); in CreateProcessStatsDataSource()326 std::unique_ptr<CpuFreqInfo>(new CpuFreqInfo()))); in CreateSystemInfoDataSource()