Home
last modified time | relevance | path

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

/external/perfetto/src/traced/probes/common/
Dcpu_freq_info_unittest.cc44 auto cpu_freq_info = GetCpuFreqInfo(); in TEST_F() local
46 EXPECT_THAT(FreqsToVector(cpu_freq_info->GetFreqs(0u)), in TEST_F()
49 EXPECT_THAT(FreqsToVector(cpu_freq_info->GetFreqs(1u)), in TEST_F()
52 EXPECT_THAT(FreqsToVector(cpu_freq_info->GetFreqs(2u)), ElementsAre()); in TEST_F()
53 EXPECT_THAT(FreqsToVector(cpu_freq_info->GetFreqs(100u)), ElementsAre()); in TEST_F()
55 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()
[all …]
DBUILD.gn23 "cpu_freq_info.cc",
24 "cpu_freq_info.h",
/external/perfetto/src/traced/probes/system_info/
Dsystem_info_data_source_unittest.cc112 std::unique_ptr<CpuFreqInfo> cpu_freq_info) in TestSystemInfoDataSource() argument
116 std::move(cpu_freq_info)) {} in TestSystemInfoDataSource()
Dsystem_info_data_source.cc50 std::unique_ptr<CpuFreqInfo> cpu_freq_info) in SystemInfoDataSource() argument
53 cpu_freq_info_(std::move(cpu_freq_info)) {} in SystemInfoDataSource()
Dsystem_info_data_source.h34 std::unique_ptr<CpuFreqInfo> cpu_freq_info);
/external/perfetto/src/traced/probes/ps/
Dprocess_stats_data_source.h58 std::unique_ptr<CpuFreqInfo> cpu_freq_info);
Dprocess_stats_data_source.cc89 std::unique_ptr<CpuFreqInfo> cpu_freq_info) in ProcessStatsDataSource() argument
93 cpu_freq_info_(std::move(cpu_freq_info)), in ProcessStatsDataSource()
Dprocess_stats_data_source_unittest.cc52 std::unique_ptr<CpuFreqInfo> cpu_freq_info) in TestProcessStatsDataSource() argument
57 std::move(cpu_freq_info)) {} in TestProcessStatsDataSource()
/external/perfetto/
DBUILD1395 "src/traced/probes/common/cpu_freq_info.cc",
1396 "src/traced/probes/common/cpu_freq_info.h",
DAndroid.bp8146 "src/traced/probes/common/cpu_freq_info.cc",