Home
last modified time | relevance | path

Searched refs:configs_ (Results 1 – 6 of 6) sorted by relevance

/developtools/hiperf/src/
Dreport.cpp37 HLOG_ASSERT_MESSAGE(configs_.size() > configIndex, in AddReportItem()
38 "in %zu configs found index %zu, from ids %llu", configs_.size(), in AddReportItem()
47 ReportItem &item = configs_[configIndex].reportItems_.emplace_back( in AddReportItem()
73 ReportItem &item = configs_[configIndex].reportItems_.emplace_back( in AddReportItem()
80 configs_[configIndex].sampleCount_++; in AddReportItem()
81 configs_[configIndex].eventCount_ += sample.data_.period; in AddReportItem()
87 HLOG_ASSERT(configs_.size() > configIndex); in AddReportItemBranch()
96 ReportItem &item = configs_[configIndex].reportItems_.emplace_back( in AddReportItemBranch()
105 configs_[configIndex].sampleCount_++; in AddReportItemBranch()
106 configs_[configIndex].eventCount_ += sample.data_.bnr; in AddReportItemBranch()
[all …]
Dsubcommand_report.cpp192 for (auto &config : GetReport().configs_) { in BroadcastSample()
343 HLOG_ASSERT(GetReport().configs_.size() > 0); in LoadEventConfigData()
344 HLOGV("record %d have %zu configs", index_, GetReport().configs_.size()); in LoadEventConfigData()
370 GetReport().configIdIndexMaps_[id] = GetReport().configs_.size(); // setup index in LoadEventDesc()
371 HLOGV("add config id map %" PRIu64 " to %zu", id, GetReport().configs_.size()); in LoadEventDesc()
375 GetReport().configs_.emplace_back(fileAttr.name, fileAttr.attr.type, in LoadEventDesc()
397 GetReport().configIdIndexMaps_[id] = GetReport().configs_.size(); // setup index in LoadAttrSection()
398 HLOGV("add config id map %" PRIu64 " to %zu", id, GetReport().configs_.size()); in LoadAttrSection()
400 auto &config = GetReport().configs_.emplace_back(fileAttr.name, fileAttr.attr.type, in LoadAttrSection()
/developtools/hiperf/test/unittest/common/native/
Dreport_test.cpp45 report_->configs_.emplace_back("dummy", 0, 0); in SetUp()
729 auto &reportItems = report_->configs_[0].reportItems_;
793 ASSERT_EQ(report_->configs_[0].reportItems_.size(), 3u);
795 ASSERT_EQ(report_->configs_[0].reportItems_[0].callStacks_.size(), 0u);
797 for (auto &reportItem : report_->configs_[0].reportItems_) {
800 EXPECT_STREQ(report_->configs_[0].reportItems_[0].func_.data(), "swapper@0x123400");
801 EXPECT_STREQ(report_->configs_[0].reportItems_[1].func_.data(), "swapper@0x123401");
802 EXPECT_STREQ(report_->configs_[0].reportItems_[2].func_.data(), "swapper@0x123402");
/developtools/smartperf_host/trace_streamer/src/parser/hiperf_parser/
Dperf_data_parser.cpp146 report_->configIdIndexMaps_[id] = report_->configs_.size(); // setup index in LoadEventDesc()
147 TS_LOGI("add config id map %" PRIu64 " to %zu", id, report_->configs_.size()); in LoadEventDesc()
150 …auto& config = report_->configs_.emplace_back(fileAttr.name, fileAttr.attr.type, fileAttr.attr.con… in LoadEventDesc()
/developtools/profiler/host/smartperf/trace_streamer/src/parser/hiperf_parser/
Dperf_data_parser.cpp143 report_->configIdIndexMaps_[id] = report_->configs_.size(); // setup index in LoadEventDesc()
144 TS_LOGI("add config id map %" PRIu64 " to %zu", id, report_->configs_.size()); in LoadEventDesc()
147 …auto& config = report_->configs_.emplace_back(fileAttr.name, fileAttr.attr.type, fileAttr.attr.con… in LoadEventDesc()
/developtools/hiperf/include/
Dreport.h502 std::vector<ReportEventConfigItem> configs_; variable
508 return configs_[GetConfigIndex(id)].eventName_; in GetConfigName()