pub unsafe extern "C" fn magma_connection_enable_performance_counters(
    connection: magma_connection_t,
    counters: *mut u64,
    counters_count: u64
) -> magma_status_t
Expand description

\brief Enables a set of performance counters (the precise definition depends on the driver). Disables enabled performance counters that are not in the new set. Performance counters will also be automatically disabled on connection close. Performance counter access must have been enabled using magma_connection_enable_performance_counter_access before calling this method. \param connection An open connection to a device. \param counters An implementation-defined list of counters. \param counters_count The number of entries in |counters|.