Home
last modified time | relevance | path

Searched refs:PerfFileSectionString (Results 1 – 7 of 7) sorted by relevance

/developtools/hiperf/src/
Dperf_file_format.cpp166 PerfFileSectionString::PerfFileSectionString(FEATURE id, const char *buf, size_t size) in PerfFileSectionString() function in OHOS::Developtools::HiPerf::PerfFileSectionString
175 PerfFileSectionString::PerfFileSectionString(FEATURE id, const std::string &charString) in PerfFileSectionString() function in OHOS::Developtools::HiPerf::PerfFileSectionString
181 bool PerfFileSectionString::GetBinary(char *buf, size_t size) in GetBinary()
192 size_t PerfFileSectionString::GetSize() in GetSize()
197 const std::string PerfFileSectionString::toString() const in toString()
Dsubcommand_report.cpp313 const PerfFileSectionString *sectionString = in UpdateReportInfo()
314 static_cast<const PerfFileSectionString *>(featureSection); in UpdateReportInfo()
488 const PerfFileSectionString *sectionString = in OutputStd()
489 static_cast<const PerfFileSectionString *>(featureSection.get()); in OutputStd()
Dperf_file_reader.cpp376 const PerfFileSectionString *sectionString = in GetFeatureString()
377 static_cast<const PerfFileSectionString *>(featureSection); in GetFeatureString()
429 std::make_unique<PerfFileSectionString>(feature, (char *)&buf[0], buf.size())); in ReadFeatureSection()
Dsubcommand_dump.cpp493 const PerfFileSectionString *sectionString = in DumpFeaturePortion()
494 static_cast<const PerfFileSectionString *>(featureSection.get()); in DumpFeaturePortion()
Dperf_file_writer.cpp430 featureSections_.emplace_back(std::make_unique<PerfFileSectionString>(feature, string)); in AddStringFeature()
/developtools/hiperf/include/
Dperf_file_format.h164 class PerfFileSectionString : public PerfFileSection {
170 PerfFileSectionString(FEATURE id, const char *buf, size_t size);
171 PerfFileSectionString(FEATURE id, const std::string &charString);
/developtools/hiperf/test/unittest/common/native/
Dperf_file_format_test.cpp89 HWTEST_F(PerfFileFormatTest, PerfFileSectionString, TestSize.Level1)
95 PerfFileSectionString withString = {FEATURE::RESERVED, testString};
101 PerfFileSectionString withBuff(FEATURE::RESERVED, buff, sizeof(buff));