Home
last modified time | relevance | path

Searched refs:event_name (Results 1 – 25 of 37) sorted by relevance

12

/external/perf_data_converter/src/quipper/
Dperf_stat_parser_test.cc63 EXPECT_EQ("/uncore/reads/", line1.event_name()); in TEST()
68 EXPECT_EQ("/uncore/writes/", line2.event_name()); in TEST()
82 EXPECT_EQ("/uncore/reads/", line3.event_name()); in TEST()
87 EXPECT_EQ("/uncore/writes/", line4.event_name()); in TEST()
99 EXPECT_EQ("cycles", line1.event_name()); in TEST()
104 EXPECT_EQ("L1-dcache-loads", line2.event_name()); in TEST()
109 EXPECT_EQ("bus-cycles", line3.event_name()); in TEST()
114 EXPECT_EQ("r02c4", line4.event_name()); in TEST()
Dperf_recorder_test.cc117 EXPECT_EQ("cycles", stat.line(0).event_name()); in TEST_F()
154 EXPECT_EQ("cycles", stat.line(0).event_name()); in TEST_F()
160 EXPECT_EQ("instructions", stat.line(1).event_name()); in TEST_F()
166 EXPECT_EQ("branches", stat.line(2).event_name()); in TEST_F()
172 EXPECT_EQ("branch-misses", stat.line(3).event_name()); in TEST_F()
/external/webrtc/webrtc/base/
Dprofiler.cc99 void Profiler::StartEvent(const std::string& event_name) { in StartEvent() argument
101 EventMap::iterator it = events_.find(event_name); in StartEvent()
109 EventMap::value_type(event_name, ProfilerEvent())).first; in StartEvent()
115 void Profiler::StopEvent(const std::string& event_name) { in StopEvent() argument
119 EventMap::iterator it = events_.find(event_name); in StopEvent()
158 const ProfilerEvent* Profiler::GetEvent(const std::string& event_name) const { in GetEvent()
161 events_.find(event_name); in GetEvent()
Dprofiler.h119 void StartEvent(const std::string& event_name);
120 void StopEvent(const std::string& event_name);
125 const ProfilerEvent* GetEvent(const std::string& event_name) const;
144 explicit ProfilerScope(const std::string& event_name) in ProfilerScope() argument
145 : event_name_(event_name) { in ProfilerScope()
/external/trappy/trappy/
Dftrace.py252 for event_name in events:
254 if (event_name == cls.unique_word) or \
255 (event_name + ":" == cls.unique_word):
256 self.class_definitions[event_name] = cls
261 "unique_word": event_name + ":",
262 "name": event_name,
264 trace_class = DynamicTypeFactory(event_name, (Base,), kwords)
265 self.class_definitions[event_name] = trace_class
454 event_name = min(events, key=getLine)
455 event_tuple = next_rows[event_name]
[all …]
/external/sonivox/jet_tools/JetCreator/
DJetFile.py112 …def __init__(self, event_name, event_type, event_id, track_num, channel_num, event_start, event_en… argument
113 self.event_name = event_name
351event_name, event_id, track_num, channel_num, event_start, event_end = location.split(',', 5)
352 …jetevents.append(JetEvent(event_name, JetDefs.E_CLIP, int(event_id), int(track_num), int(channel_n…
357event_name, event_id, track_num, channel_num, event_start, event_end = location.split(',', 5)
358 …jetevents.append(JetEvent(event_name, JetDefs.E_APP, int(event_id), int(track_num), int(channel_nu…
529 if event.event_name == eventName:
533 …def AddEvent(self, segname, event_name, event_type, event_id, track_num, channel_num, event_start,… argument
537 …segment.jetevents.append(JetEvent(event_name, event_type, int(event_id), int(track_num), int(chann…
546 …def UpdateEvent(self, segname, orgeventname, event_name, event_type, event_id, track_num, channel_… argument
[all …]
DJetDebug.py26 print("event_name: %s" % evt.event_name)
DJetSegGraph.py157 …self.AddMarker(JetDefs.E_CLIP, jet_event.event_id, jet_event.event_name, mbtFct(jet_event.event_st…
159 …self.AddMarker(JetDefs.E_EOS, jet_event.event_id, jet_event.event_name, mbtFct(jet_event.event_end…
161 …self.AddMarker(JetDefs.E_APP, jet_event.event_id, jet_event.event_name, mbtFct(jet_event.event_sta…
/external/autotest/client/site_tests/platform_BootPerf/
Dplatform_BootPerf.py295 for keyval_name, event_name, required in self._EVENT_KEYVALS:
298 results[key] = self._parse_uptime(event_name)
313 for event_name in network_ready_events:
315 network_time = self._parse_uptime(event_name)
347 for keyval_name, event_name, required in self._EVENT_KEYVALS:
350 results[key] = 512 * self._parse_diskstat(event_name)
/external/perfetto/src/ftrace_reader/
Dftrace_config.cc57 for (const std::string& event_name : config.ftrace_events()) { in ValidConfig() local
58 if (!IsValid(event_name)) { in ValidConfig()
59 PERFETTO_ELOG("Bad event name '%s'", event_name.c_str()); in ValidConfig()
Devent_info_constants.h194 Event(const char* event_name, const char* event_group) in Event()
195 : name(event_name), group(event_group) {} in Event()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/
Dgen_archrast.py122 event_name = match.group(3)
123 protos['event_names'].append(event_name)
125 protos['events'][event_name] = {}
126 protos['events'][event_name]['event_id'] = eventId
127 idx = parse_event_fields(lines, idx, protos['events'][event_name])
/external/lisa/libs/utils/analysis/
Dresidency_analysis.py154 def _dfg_cpu_residencies(self, pivot, pivot_list=[], event_name='sched_switch'): argument
184 if hasattr(self._trace.data_frame, event_name):
185 df = getattr(self._trace.data_frame, event_name)()
187 df = self._dfg_trace_event(event_name)
212 … return self._dfg_cpu_residencies(controller, pivot_list=cgroups, event_name='sched_switch_cgroup')
/external/libchrome/base/trace_event/
Dheap_profiler_event_filter.cc61 const char* event_name) const { in EndEvent()
63 GetThreadLocalTracker()->PopPseudoStackFrame({category_name, event_name}); in EndEvent()
Dtrace_event_filter.cc14 const char* event_name) const {} in EndEvent()
Dtrace_event_filter.h42 const char* event_name) const;
Dheap_profiler_event_filter.h31 const char* event_name) const override;
Dtrace_event_impl.h36 const char* event_name,
/external/perfetto/tools/ftrace_proto_gen/
Dftrace_proto_gen.cc119 void PrintInodeHandlerMain(const std::string& event_name, in PrintInodeHandlerMain() argument
126 event_name.c_str(), event_name.c_str(), field.name.c_str(), in PrintInodeHandlerMain()
127 event_name.c_str(), field.name.c_str()); in PrintInodeHandlerMain()
Dftrace_proto_gen.h44 void PrintInodeHandlerMain(const std::string& event_name,
/external/python/cpython3/Lib/xml/etree/
DElementTree.py1497 for event_name in events_to_report:
1498 if event_name == "start":
1501 def handler(tag, attrib_in, event=event_name, append=append,
1505 elif event_name == "end":
1506 def handler(tag, event=event_name, append=append,
1510 elif event_name == "start-ns":
1511 def handler(prefix, uri, event=event_name, append=append):
1514 elif event_name == "end-ns":
1515 def handler(prefix, event=event_name, append=append):
1519 raise ValueError("unknown event %r" % event_name)
/external/perf_data_converter/src/
Dperf_data_converter.cc332 string event_name = ""; in GetOrCreateBuilder() local
336 event_name = event_type.name() + "_"; in GetOrCreateBuilder()
339 if (event_name == "") { in GetOrCreateBuilder()
340 event_name = "event_" + std::to_string(unknown_event_idx++) + "_"; in GetOrCreateBuilder()
343 sample_type->set_type(UTF8StringId(event_name + "sample", builder)); in GetOrCreateBuilder()
346 sample_type->set_type(UTF8StringId(event_name + "event", builder)); in GetOrCreateBuilder()
/external/autotest/client/cros/graphics/
Dgraphics_utils.py410 def _uinput_translate_name(event_name): argument
414 return getattr(uinput, event_name)
417 def _uinput_emit(device, event_name, value, syn=True): argument
422 event = _uinput_translate_name(event_name)
426 def _uinput_emit_click(device, event_name, syn=True): argument
431 event = _uinput_translate_name(event_name)
/external/autotest/client/site_tests/video_YouTubeMseEme/
Dvideo_YouTubeMseEme.py44 def _check_event_happened(self, event_name): argument
50 'window.__eventReporter["%s"] === true;' % event_name, timeout=5)
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
Ddebug.rb679 def on( event_name, &block ) argument
681 sclass.send( :define_method, event_name, &block )

12