Searched refs:NumberOfCpus (Results 1 – 11 of 11) sorted by relevance
/external/perfetto/src/traced/probes/ftrace/ |
D | discover_vendor_tracepoints_unittest.cc | 49 ON_CALL(*this, NumberOfCpus()).WillByDefault(Return(1)); in MockFtraceProcfs() 52 EXPECT_CALL(*this, NumberOfCpus()).Times(AnyNumber()); in MockFtraceProcfs() 63 MOCK_CONST_METHOD0(NumberOfCpus, size_t());
|
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 | 102 ON_CALL(*this, NumberOfCpus()).WillByDefault(Return(cpu_count)); in MockFtraceProcfs() 103 EXPECT_CALL(*this, NumberOfCpus()).Times(AnyNumber()); in MockFtraceProcfs() 152 MOCK_CONST_METHOD0(NumberOfCpus, size_t()); 398 ON_CALL(*controller->procfs(), NumberOfCpus()).WillByDefault(Return(2)); in TEST() 428 ON_CALL(*controller->procfs(), NumberOfCpus()).WillByDefault(Return(2)); in TEST()
|
D | ftrace_procfs_unittest.cc | 38 MOCK_CONST_METHOD0(NumberOfCpus, size_t());
|
D | ftrace_controller.cc | 191 per_cpu_.reserve(ftrace_procfs_->NumberOfCpus()); in StartIfNeeded() 193 for (size_t cpu = 0; cpu < ftrace_procfs_->NumberOfCpus(); cpu++) { in StartIfNeeded()
|
D | ftrace_procfs.h | 63 size_t virtual NumberOfCpus() const;
|
D | ftrace_procfs.cc | 136 size_t FtraceProcfs::NumberOfCpus() const { in NumberOfCpus() function in perfetto::FtraceProcfs 154 for (size_t cpu = 0; cpu < NumberOfCpus(); cpu++) { in ClearTrace()
|
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() 57 MOCK_CONST_METHOD0(NumberOfCpus, size_t()); 430 EXPECT_CALL(ftrace, NumberOfCpus()).Times(AnyNumber()); in TEST_F()
|
D | cpu_reader_unittest.cc | 89 ON_CALL(*this, NumberOfCpus()).WillByDefault(Return(1)); in MockFtraceProcfs() 92 EXPECT_CALL(*this, NumberOfCpus()).Times(AnyNumber()); in MockFtraceProcfs() 100 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()
|
/external/perfetto/src/profiling/perf/ |
D | perf_producer.cc | 71 size_t NumberOfCpus() { in NumberOfCpus() function 208 size_t num_cpus = NumberOfCpus(); in StartDataSource()
|