Home
last modified time | relevance | path

Searched refs:eventSource (Results 1 – 11 of 11) sorted by relevance

/developtools/profiler/host/smartperf/trace_streamer/src/filter/
Dhi_sysevent_measure_filter.cpp81 DataIndex HiSysEventMeasureFilter::GetOrCreateFilterId(DataIndex eventSource) in GetOrCreateFilterId() argument
84 if (eventSource_.find(eventSource) == eventSource_.end()) { in GetOrCreateFilterId()
85 … eventSourceFilterId = streamFilters_->sysEventSourceFilter_->AppendNewMeasureFilter(eventSource); in GetOrCreateFilterId()
86 eventSource_.insert(std::make_pair(eventSource, eventSourceFilterId)); in GetOrCreateFilterId()
88 eventSourceFilterId = eventSource_.at(eventSource); in GetOrCreateFilterId()
92 DataIndex HiSysEventMeasureFilter::GetOrCreateFilterId(DataIndex eventSource, DataIndex appName) in GetOrCreateFilterId() argument
96 if (eventSource_.find(eventSource) == eventSource_.end()) { in GetOrCreateFilterId()
97 … eventSourceFilterId = streamFilters_->sysEventSourceFilter_->AppendNewMeasureFilter(eventSource); in GetOrCreateFilterId()
98 eventSource_.insert(std::make_pair(eventSource, eventSourceFilterId)); in GetOrCreateFilterId()
100 eventSourceFilterId = eventSource_.at(eventSource); in GetOrCreateFilterId()
[all …]
Dhi_sysevent_measure_filter.h37 DataIndex GetOrCreateFilterId(DataIndex eventSource);
38 DataIndex GetOrCreateFilterId(DataIndex eventSource, DataIndex appName);
39 …std::tuple<DataIndex, DataIndex> GetOrCreateFilterId(DataIndex eventSource, DataIndex appName, Dat…
/developtools/profiler/host/smartperf/trace_streamer/test/unittest/
Dhisys_event_parser_test.cpp67 EXPECT_TRUE(jData.eventSource == "POWER_IDE_BATTERY");
72 DataIndex eventSourceIndex = stream_.traceDataCache_->GetDataIndex(jData.eventSource);
108 EXPECT_TRUE(jData.eventSource == "POWER_IDE_WIFISCAN");
113 DataIndex eventSourceIndex = stream_.traceDataCache_->GetDataIndex(jData.eventSource);
157 if (jData.eventSource == "POWER_IDE_WIFISCAN") {
158 EXPECT_TRUE(jData.eventSource == "POWER_IDE_WIFISCAN");
164 EXPECT_TRUE(jData.eventSource == "POWER_IDE_BATTERY");
170 DataIndex eventSourceIndex = stream_.traceDataCache_->GetDataIndex(jData.eventSource);
Dtable_test.cpp50 DataIndex eventSource = stream_.traceDataCache_->GetDataIndex("eventSource"); variable
52 stream_.traceDataCache_->GetAppNamesData()->AppendAppName(flags, eventSource, appName);
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/energy/
DTabPaneSystemDetails.ts26 private eventSource: Array<any> = []; property in TabPaneSystemDetails
116 this.eventSource = []
118 this.eventSource.push({
133 this.tbl!.recycleDataSource = this.eventSource.concat(value)
/developtools/profiler/host/smartperf/trace_streamer/src/parser/htrace_parser/
Dhtrace_hisysevent_parser.h40 std::string eventSource; member
Dhtrace_hisysevent_parser.cpp51 jData.eventSource = i.value(); in JGetData()
187 DataIndex eventSourceIndex = traceDataCache_->GetDataIndex(jData.eventSource); in Parse()
/developtools/profiler/host/smartperf/trace_streamer/src/parser/bytrace_parser/
Dbytrace_parser.cpp114 jData.eventSource = i.value(); in JGetData()
115 … if (find(eventsAccordingAppNames.begin(), eventsAccordingAppNames.end(), jData.eventSource) == in JGetData()
219 DataIndex eventSourceIndex = eventParser_->traceDataCache_->GetDataIndex(jData.eventSource); in ParseJsonData()
Dbytrace_parser.h80 std::string eventSource; member
/developtools/profiler/host/smartperf/trace_streamer/src/trace_data/
Dtrace_stdtype.cpp1582 uint32_t AppNames::AppendAppName(uint8_t flags, DataIndex eventSource, DataIndex appName) in AppendAppName() argument
1585 appNames_.push_back(eventSource); in AppendAppName()
Dtrace_stdtype.h1449 uint32_t AppendAppName(uint8_t flags, DataIndex eventSource, DataIndex appName);