Skip to content

Commit 03f61fc

Browse files
[SYCL][Docs] Specify command_start meaning for profiling tags (#12937)
This commit clarifies the meaning of command_start on profiling tags. --------- Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
1 parent b49a262 commit 03f61fc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

sycl/doc/extensions/proposed/sycl_ext_oneapi_profiling_tag.asciidoc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,13 @@ The event's `info::event_profiling::command_submit` timestamp reflects the
151151
time at which `submit_profiling_tag` is called.
152152
The event's `info::event_profiling::command_end` timestamp reflects the time
153153
at which the event enters the "complete" state.
154+
The event's `info::event_profiling::command_start` timestamp reflects the time
155+
that the profiling tag command starts executing.
156+
This timestamp is between the `info::event_profiling::command_submit` and
157+
`info::event_profiling::command_end` timestamps.
154158

155159
It is unspecified whether the event ever has the
156-
`info::event_command_status::running` status, and the meaning of the
157-
`info::event_profiling::command_start` timestamp is also unspecified.
160+
`info::event_command_status::running` status.
158161
Implementations are encouraged to transition the event directly from the
159162
"submitted" status to the "complete" status and are encouraged to set the
160163
"command_start" timestamp to the same value as the "command_end" timestamp.

0 commit comments

Comments
 (0)