An event The event class represents an OpenCL event. cl_event Creates a new compute event for event. const event & Creates a new event object as a copy of other. cl_event bool true Creates a new event object for event. If retain is true (the default) the reference count for event will be incremented. const event & Copies the event from other. Destroys the event object. T cl_event_info Returns information about the event. T cl_profiling_info Returns profiling information for the event. For example, to get the time when the command referred to by the event was completed: cl_ulong end_time = e.get_profiling_info<cl_ulong>(event::profiling_command_end);