@@ -215,7 +215,10 @@ 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.
219+ * @return Returns an instance of EventTracerEntry which should be passed back
220+ * into the end_profiling_dele gate() call.
221+ * - An error code if an error occurs during logging.
219222 */
220223 virtual Result<EventTracerEntry> start_profiling_delegate (
221224 const char * name,
@@ -234,6 +237,9 @@ class EventTracer {
234237 * are transparent to the event tracer. It will just pipe along the data and
235238 * make it available for the user again in the post-processing stage.
236239 * @param[in] metadata_len Length of the metadata buffer.
240+ * @return A Result<bool> indicating the status of the logging operation.
241+ * - True if the event tracer delegate event was successfully logged.
242+ * - An error code if an error occurs during logging.
237243 */
238244 virtual Result<bool > end_profiling_delegate (
239245 EventTracerEntry event_tracer_entry,
@@ -264,6 +270,9 @@ class EventTracer {
264270 * are transparent to the event tracer. It will just pipe along the data and
265271 * make it available for the user again in the post-processing stage.
266272 * @param[in] metadata_len Length of the metadata buffer.
273+ * @return A Result<bool> indicating the status of the logging operation.
274+ * - True if the event tracer delegate event was successfully logged.
275+ * - An error code if an error occurs during logging.
267276 */
268277 virtual Result<bool > log_profiling_delegate (
269278 const char * name,
0 commit comments