Home
last modified time | relevance | path

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

/external/perfetto/src/traced/probes/ftrace/
Dcpu_stats_parser.cc77 stats->cpu_stats.resize(ftrace->NumberOfCpus(), {}); in DumpAllCpuStats()
78 for (size_t cpu = 0; cpu < ftrace->NumberOfCpus(); cpu++) { in DumpAllCpuStats()
Dftrace_controller_unittest.cc139 ON_CALL(*this, NumberOfCpus()).WillByDefault(Return(cpu_count)); in MockFtraceProcfs()
140 EXPECT_CALL(*this, NumberOfCpus()).Times(AnyNumber()); in MockFtraceProcfs()
189 MOCK_CONST_METHOD0(NumberOfCpus, size_t());
479 ON_CALL(*controller->procfs(), NumberOfCpus()).WillByDefault(Return(2)); in TEST()
510 ON_CALL(*controller->procfs(), NumberOfCpus()).WillByDefault(Return(2)); in TEST()
Dftrace_controller.cc227 const size_t num_cpus = ftrace_procfs_->NumberOfCpus(); in DrainCPUs()
309 cpu_readers_.reserve(ftrace_procfs_->NumberOfCpus()); in StartIfNeeded()
310 for (size_t cpu = 0; cpu < ftrace_procfs_->NumberOfCpus(); cpu++) { in StartIfNeeded()
Dftrace_procfs.cc120 size_t FtraceProcfs::NumberOfCpus() const { in NumberOfCpus() function in perfetto::FtraceProcfs
138 for (size_t cpu = 0; cpu < NumberOfCpus(); cpu++) { in ClearTrace()
Dftrace_procfs.h62 size_t virtual NumberOfCpus() const;
Dftrace_procfs_unittest.cc39 MOCK_CONST_METHOD0(NumberOfCpus, size_t());
Dftrace_config_muxer_unittest.cc45 ON_CALL(*this, NumberOfCpus()).WillByDefault(Return(1)); in MockFtraceProcfs()
48 EXPECT_CALL(*this, NumberOfCpus()).Times(AnyNumber()); in MockFtraceProcfs()
58 MOCK_CONST_METHOD0(NumberOfCpus, size_t());
Dcpu_reader_unittest.cc80 ON_CALL(*this, NumberOfCpus()).WillByDefault(Return(1)); in MockFtraceProcfs()
83 EXPECT_CALL(*this, NumberOfCpus()).Times(AnyNumber()); in MockFtraceProcfs()
91 MOCK_CONST_METHOD0(NumberOfCpus, size_t());
/external/perfetto/tools/dump_ftrace_stats/
Dmain.cc43 size_t NumberOfCpus() { in NumberOfCpus() function
73 for (uint32_t cpu = 0; cpu < NumberOfCpus(); cpu++) { in DumpAllCpuStats()