[−][src]Function opencl3::event::get_event_profiling_info
pub fn get_event_profiling_info(
event: *mut c_void,
param_name: ProfilingInfo
) -> Result<InfoType, i32>
Get profiling information for a command associated with an event when
profiling is enabled.
Calls clGetEventProfilingInfo to get the desired information.
event
- the OpenCL event.param_name
- the type of event profiling information being queried, see: Event Profiling Queries.
returns a Result containing the desired information in an InfoType enum or the error code from the OpenCL C API function.