Home
last modified time | relevance | path

Searched refs:configs_ (Results 1 – 5 of 5) 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()
354 HLOG_ASSERT(GetReport().configs_.size() > 0); in LoadEventConfigData()
355 HLOGV("record %d have %zu configs", index_, GetReport().configs_.size()); in LoadEventConfigData()
381 GetReport().configIdIndexMaps_[id] = GetReport().configs_.size(); // setup index in LoadEventDesc()
382 HLOGV("add config id map %" PRIu64 " to %zu", id, GetReport().configs_.size()); in LoadEventDesc()
386 GetReport().configs_.emplace_back(fileAttr.name, fileAttr.attr.type, in LoadEventDesc()
408 GetReport().configIdIndexMaps_[id] = GetReport().configs_.size(); // setup index in LoadAttrSection()
409 HLOGV("add config id map %" PRIu64 " to %zu", id, GetReport().configs_.size()); in LoadAttrSection()
411 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.cpp504 report_->configIdIndexMaps_[id] = report_->configs_.size(); // setup index in LoadEventDesc()
505 TS_LOGI("add config id map %" PRIu64 " to %zu", id, report_->configs_.size()); in LoadEventDesc()
508 …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()