Searched refs:NumberOfCpus (Results 1 – 9 of 9) sorted by relevance
/external/perfetto/src/traced/probes/ftrace/ |
D | cpu_stats_parser.cc | 77 stats->cpu_stats.resize(ftrace->NumberOfCpus(), {}); in DumpAllCpuStats() 78 for (size_t cpu = 0; cpu < ftrace->NumberOfCpus(); cpu++) { in DumpAllCpuStats()
|
D | ftrace_controller_unittest.cc | 139 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()
|
D | ftrace_controller.cc | 227 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()
|
D | ftrace_procfs.cc | 120 size_t FtraceProcfs::NumberOfCpus() const { in NumberOfCpus() function in perfetto::FtraceProcfs 138 for (size_t cpu = 0; cpu < NumberOfCpus(); cpu++) { in ClearTrace()
|
D | ftrace_procfs.h | 62 size_t virtual NumberOfCpus() const;
|
D | ftrace_procfs_unittest.cc | 39 MOCK_CONST_METHOD0(NumberOfCpus, size_t());
|
D | ftrace_config_muxer_unittest.cc | 45 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());
|
D | cpu_reader_unittest.cc | 80 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/ |
D | main.cc | 43 size_t NumberOfCpus() { in NumberOfCpus() function 73 for (uint32_t cpu = 0; cpu < NumberOfCpus(); cpu++) { in DumpAllCpuStats()
|