Home
last modified time | relevance | path

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

/external/perfetto/src/ftrace_reader/
Dcpu_stats_parser.cc76 stats->cpu_stats.resize(ftrace->NumberOfCpus(), {}); in DumpAllCpuStats()
77 for (size_t cpu = 0; cpu < ftrace->NumberOfCpus(); cpu++) { in DumpAllCpuStats()
Dftrace_controller.cc172 for (size_t cpu = 0; cpu < weak_this->ftrace_procfs_->NumberOfCpus(); cpu++) { in DrainCPUs()
207 for (size_t cpu = 0; cpu < ftrace_procfs_->NumberOfCpus(); cpu++) { in StartIfNeeded()
253 PERFETTO_CHECK(cpu < ftrace_procfs_->NumberOfCpus()); in OnRawFtraceDataAvailable()
305 PERFETTO_DCHECK(cpu < ftrace_procfs_->NumberOfCpus()); in OnDataAvailable()
Dftrace_config_muxer_unittest.cc44 ON_CALL(*this, NumberOfCpus()).WillByDefault(Return(1)); in MockFtraceProcfs()
47 EXPECT_CALL(*this, NumberOfCpus()).Times(AnyNumber()); in MockFtraceProcfs()
55 MOCK_CONST_METHOD0(NumberOfCpus, size_t());
Dftrace_controller_unittest.cc143 ON_CALL(*this, NumberOfCpus()).WillByDefault(Return(cpu_count)); in MockFtraceProcfs()
144 EXPECT_CALL(*this, NumberOfCpus()).Times(AnyNumber()); in MockFtraceProcfs()
178 MOCK_CONST_METHOD0(NumberOfCpus, size_t());
532 ON_CALL(*controller->procfs(), NumberOfCpus()).WillByDefault(Return(2)); in TEST()
560 ON_CALL(*controller->procfs(), NumberOfCpus()).WillByDefault(Return(2)); in TEST()
Dftrace_procfs_unittest.cc39 MOCK_CONST_METHOD0(NumberOfCpus, size_t());
Dftrace_procfs.h60 size_t virtual NumberOfCpus() const;
Dftrace_procfs.cc96 size_t FtraceProcfs::NumberOfCpus() const { in NumberOfCpus() function in perfetto::FtraceProcfs