Home
last modified time | relevance | path

Searched refs:PerfFileSectionNrCpus (Results 1 – 4 of 4) sorted by relevance

/developtools/hiperf/src/
Dperf_file_format.cpp304 PerfFileSectionNrCpus::PerfFileSectionNrCpus(FEATURE id, const char *buf, size_t size) in PerfFileSectionNrCpus() function in OHOS::Developtools::HiPerf::PerfFileSectionNrCpus
313 PerfFileSectionNrCpus::PerfFileSectionNrCpus(FEATURE id, uint32_t nrCpusAvailable, in PerfFileSectionNrCpus() function in OHOS::Developtools::HiPerf::PerfFileSectionNrCpus
319 bool PerfFileSectionNrCpus::GetBinary(char *buf, size_t size) in GetBinary()
331 size_t PerfFileSectionNrCpus::GetSize() in GetSize()
336 void PerfFileSectionNrCpus::GetValue(uint32_t &nrCpusAvailable, uint32_t &nrCpusOnline) const in GetValue()
Dperf_file_writer.cpp406 std::make_unique<PerfFileSectionNrCpus>(feature, nrCpusAvailable, nrCpusOnline)); in AddNrCpusFeature()
/developtools/hiperf/include/
Dperf_file_format.h220 class PerfFileSectionNrCpus : public PerfFileSection {
225 PerfFileSectionNrCpus(FEATURE id, const char *buf, size_t size);
226 PerfFileSectionNrCpus(FEATURE id, uint32_t nrCpusAvailable, uint32_t nrCpusOnline);
/developtools/hiperf/test/unittest/common/native/
Dperf_file_format_test.cpp165 HWTEST_F(PerfFileFormatTest, PerfFileSectionNrCpus, TestSize.Level1)
170 PerfFileSectionNrCpus nrCpus = {FEATURE::NRCPUS, nr[0], nr[1]};
174 PerfFileSectionNrCpus withBuff(FEATURE::NRCPUS, buff, sizeof(buff));