File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,8 @@ class ETDumpGen : public ::executorch::runtime::EventTracer {
8383 ::executorch::runtime::DebugHandle debug_handle = 0 ) override ;
8484 virtual void end_profiling (
8585 ::executorch::runtime::EventTracerEntry prof_entry) override ;
86- virtual Result<::executorch::runtime::EventTracerEntry> start_profiling_delegate (
86+ virtual Result<::executorch::runtime::EventTracerEntry>
87+ start_profiling_delegate (
8788 const char * name,
8889 DelegateDebugIntId delegate_debug_index) override ;
8990 virtual Result<bool > end_profiling_delegate (
Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ class EventTracer {
215215 * over into internal memory during this call.
216216 * @param[in] delegate_debug_index The id of the delegate event. If string
217217 * based names are used by this delegate to identify ops executed in the
218- * backend then kUnsetDebugHandle should be passed in here.
218+ * backend then kUnsetDebugHandle should be passed in here.
219219 * @return Returns an Result<EventTracerEntry> instance which may contatain
220220 * a EventTracerEntry instance. The EventTracerEntry instance should be
221221 * passed back into the end_profiling_delegate() call.
Original file line number Diff line number Diff line change @@ -53,8 +53,8 @@ inline EventTracerEntry event_tracer_start_profiling_delegate(
5353 DebugHandle delegate_debug_id) {
5454#ifdef ET_EVENT_TRACER_ENABLED
5555 if (event_tracer) {
56- Result<EventTracerEntry> res = event_tracer-> start_profiling_delegate (
57- name, delegate_debug_id);
56+ Result<EventTracerEntry> res =
57+ event_tracer-> start_profiling_delegate ( name, delegate_debug_id);
5858 ET_CHECK_MSG (res.ok (), " Failed to start profiling delegate event" );
5959 return res.get ();
6060 }
You can’t perform that action at this time.
0 commit comments