Searched refs:NumberOfCpus (Results 1 – 7 of 7) sorted by relevance
/external/perfetto/src/ftrace_reader/ |
D | cpu_stats_parser.cc | 76 stats->cpu_stats.resize(ftrace->NumberOfCpus(), {}); in DumpAllCpuStats() 77 for (size_t cpu = 0; cpu < ftrace->NumberOfCpus(); cpu++) { in DumpAllCpuStats()
|
D | ftrace_controller.cc | 172 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()
|
D | ftrace_config_muxer_unittest.cc | 44 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());
|
D | ftrace_controller_unittest.cc | 143 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()
|
D | ftrace_procfs_unittest.cc | 39 MOCK_CONST_METHOD0(NumberOfCpus, size_t());
|
D | ftrace_procfs.h | 60 size_t virtual NumberOfCpus() const;
|
D | ftrace_procfs.cc | 96 size_t FtraceProcfs::NumberOfCpus() const { in NumberOfCpus() function in perfetto::FtraceProcfs
|