Home
last modified time | relevance | path

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

/external/perfetto/src/traced/probes/common/
Dcpu_freq_info_unittest.cc55 EXPECT_EQ(cpu_freq_info->GetCpuFreqIndex(0u, 300000u), 1u); in TEST_F()
56 EXPECT_EQ(cpu_freq_info->GetCpuFreqIndex(0u, 748800u), 3u); in TEST_F()
57 EXPECT_EQ(cpu_freq_info->GetCpuFreqIndex(1u, 300000u), 10u); in TEST_F()
58 EXPECT_EQ(cpu_freq_info->GetCpuFreqIndex(1u, 1996800u), 19u); in TEST_F()
59 EXPECT_EQ(cpu_freq_info->GetCpuFreqIndex(1u, 2803200), 20u); in TEST_F()
60 EXPECT_EQ(cpu_freq_info->GetCpuFreqIndex(1u, 5u), 0u); in TEST_F()
Dcpu_freq_info.h36 uint32_t GetCpuFreqIndex(uint32_t cpu, uint32_t freq);
Dcpu_freq_info.cc103 uint32_t CpuFreqInfo::GetCpuFreqIndex(uint32_t cpu, uint32_t freq) { in GetCpuFreqIndex() function in perfetto::CpuFreqInfo
/external/perfetto/src/traced/probes/ps/
Dprocess_stats_data_source.cc627 uint32_t freq_index = cpu_freq_info_->GetCpuFreqIndex(last_cpu, freq); in WriteThreadStats()