Home
last modified time | relevance | path

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

/external/perfetto/src/traced/probes/ftrace/
Ddiscover_vendor_tracepoints_unittest.cc49 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());
Dcpu_stats_parser.cc77 stats->cpu_stats.resize(ftrace->NumberOfCpus(), {}); in DumpAllCpuStats()
78 for (size_t cpu = 0; cpu < ftrace->NumberOfCpus(); cpu++) { in DumpAllCpuStats()
Dftrace_controller_unittest.cc103 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()
Dftrace_procfs_unittest.cc38 MOCK_CONST_METHOD0(NumberOfCpus, size_t());
Dftrace_controller.cc182 per_cpu_.reserve(ftrace_procfs_->NumberOfCpus()); in StartIfNeeded()
184 for (size_t cpu = 0; cpu < ftrace_procfs_->NumberOfCpus(); cpu++) { in StartIfNeeded()
Dftrace_procfs.h74 size_t virtual NumberOfCpus() const;
Dftrace_procfs.cc162 size_t FtraceProcfs::NumberOfCpus() const { in NumberOfCpus() function in perfetto::FtraceProcfs
180 for (size_t cpu = 0; cpu < NumberOfCpus(); cpu++) { in ClearTrace()
Dftrace_config_muxer_unittest.cc44 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()
Dcpu_reader_unittest.cc93 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/
Dmain.cc43 size_t NumberOfCpus() { in NumberOfCpus() function
73 for (uint32_t cpu = 0; cpu < NumberOfCpus(); cpu++) { in DumpAllCpuStats()
/external/perfetto/src/traced/probes/
Dkmem_activity_trigger.cc84 num_cpus_ = ftrace_procfs_->NumberOfCpus(); in WorkerData()
/external/perfetto/src/profiling/perf/
Dperf_producer.cc79 size_t NumberOfCpus() { in NumberOfCpus() function
292 size_t num_cpus = NumberOfCpus(); in StartDataSource()