pub unsafe extern "C" fn magma_connection_enable_performance_counter_access(
    connection: magma_connection_t,
    channel: magma_handle_t
) -> magma_status_t
Expand description

\brief Tries to enable access to performance counters. Returns MAGMA_STATUS_OK if counters were successfully enabled or MAGMA_STATUS_ACCESS_DENIED if channel is for the wrong device and counters were not successfully enabled previously. \param connection An open connection to a device. \param channel A handle to a channel to a gpu-performance-counter device.