magma

Function magma_connection_clear_performance_counters

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

\brief Sets the values of all listed performance counters to 0. May not be supported by some hardware. 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|.