Home
last modified time | relevance | path

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

/external/perfetto/src/traced/probes/common/
Dcpu_freq_info.cc45 CpuFreqInfo::CpuFreqInfo(std::string cpu_dir_path) { in CpuFreqInfo() function in perfetto::CpuFreqInfo
90 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()
Dcpu_freq_info_unittest.cc28 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
Dcpu_freq_info.h28 class CpuFreqInfo {
30 explicit CpuFreqInfo(std::string cpu_dir_path = "/sys/devices/system/cpu");
31 virtual ~CpuFreqInfo();
Dcpu_freq_info_for_testing.cc71 std::unique_ptr<CpuFreqInfo> CpuFreqInfoForTesting::GetInstance() { in GetInstance()
72 return std::unique_ptr<CpuFreqInfo>(new CpuFreqInfo(fake_cpu_dir_.path())); in GetInstance()
Dcpu_freq_info_for_testing.h36 std::unique_ptr<CpuFreqInfo> GetInstance();
/external/perfetto/src/traced/probes/system_info/
Dsystem_info_data_source.h34 std::unique_ptr<CpuFreqInfo> cpu_freq_info);
45 std::unique_ptr<CpuFreqInfo> cpu_freq_info_;
Dsystem_info_data_source_unittest.cc112 std::unique_ptr<CpuFreqInfo> cpu_freq_info) in TestSystemInfoDataSource()
Dsystem_info_data_source.cc50 std::unique_ptr<CpuFreqInfo> cpu_freq_info) in SystemInfoDataSource()
/external/perfetto/src/traced/probes/ps/
Dprocess_stats_data_source.h58 std::unique_ptr<CpuFreqInfo> cpu_freq_info);
173 std::unique_ptr<CpuFreqInfo> cpu_freq_info_;
Dprocess_stats_data_source.cc89 std::unique_ptr<CpuFreqInfo> cpu_freq_info) in ProcessStatsDataSource()
Dprocess_stats_data_source_unittest.cc52 std::unique_ptr<CpuFreqInfo> cpu_freq_info) in TestProcessStatsDataSource()
/external/perfetto/src/traced/probes/
Dprobes_producer.cc274 std::unique_ptr<CpuFreqInfo>(new CpuFreqInfo()))); in CreateProcessStatsDataSource()
326 std::unique_ptr<CpuFreqInfo>(new CpuFreqInfo()))); in CreateSystemInfoDataSource()