Home
last modified time | relevance | path

Searched refs:NumberOfCpus (Results 1 – 11 of 11) 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.cc102 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()
Dftrace_procfs_unittest.cc38 MOCK_CONST_METHOD0(NumberOfCpus, size_t());
Dftrace_controller.cc191 per_cpu_.reserve(ftrace_procfs_->NumberOfCpus()); in StartIfNeeded()
193 for (size_t cpu = 0; cpu < ftrace_procfs_->NumberOfCpus(); cpu++) { in StartIfNeeded()
Dftrace_procfs.h63 size_t virtual NumberOfCpus() const;
Dftrace_procfs.cc136 size_t FtraceProcfs::NumberOfCpus() const { in NumberOfCpus() function in perfetto::FtraceProcfs
154 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());
430 EXPECT_CALL(ftrace, NumberOfCpus()).Times(AnyNumber()); in TEST_F()
Dcpu_reader_unittest.cc89 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/
Dmain.cc43 size_t NumberOfCpus() { in NumberOfCpus() function
73 for (uint32_t cpu = 0; cpu < NumberOfCpus(); cpu++) { in DumpAllCpuStats()
/external/perfetto/src/profiling/perf/
Dperf_producer.cc71 size_t NumberOfCpus() { in NumberOfCpus() function
208 size_t num_cpus = NumberOfCpus(); in StartDataSource()