Searched refs:NumberOfCpus (Results 1 – 12 of 12) 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 | 103 ON_CALL(*this, NumberOfCpus()).WillByDefault(Return(cpu_count)); in MockFtraceProcfs() 104 EXPECT_CALL(*this, NumberOfCpus()).Times(AnyNumber()); in MockFtraceProcfs() 153 MOCK_CONST_METHOD0(NumberOfCpus, size_t()); 399 ON_CALL(*controller->procfs(), NumberOfCpus()).WillByDefault(Return(2)); in TEST() 429 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 | 182 per_cpu_.reserve(ftrace_procfs_->NumberOfCpus()); in StartIfNeeded() 184 for (size_t cpu = 0; cpu < ftrace_procfs_->NumberOfCpus(); cpu++) { in StartIfNeeded()
|
D | ftrace_procfs.h | 74 size_t virtual NumberOfCpus() const;
|
D | ftrace_procfs.cc | 162 size_t FtraceProcfs::NumberOfCpus() const { in NumberOfCpus() function in perfetto::FtraceProcfs 180 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()); 431 EXPECT_CALL(ftrace, NumberOfCpus()).Times(AnyNumber()); in TEST_F()
|
D | cpu_reader_unittest.cc | 93 ON_CALL(*this, NumberOfCpus()).WillByDefault(Return(1)); in MockFtraceProcfs() 96 EXPECT_CALL(*this, NumberOfCpus()).Times(AnyNumber()); in MockFtraceProcfs() 104 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/traced/probes/ |
D | kmem_activity_trigger.cc | 84 num_cpus_ = ftrace_procfs_->NumberOfCpus(); in WorkerData()
|
/external/perfetto/src/profiling/perf/ |
D | perf_producer.cc | 79 size_t NumberOfCpus() { in NumberOfCpus() function 292 size_t num_cpus = NumberOfCpus(); in StartDataSource()
|