pub unsafe extern "C" fn magma_connection_dump_performance_counters(
connection: magma_connection_t,
pool_id: magma_perf_count_pool_t,
trigger_id: u32,
) -> magma_status_t
Expand description
\brief Triggers dumping of the performance counters into a buffer pool. May fail silently if there are no buffers in the pool. |trigger_id| is an arbitrary ID assigned by the client that can be returned in OnPerformanceCounterReadCompleted. 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 pool_id An existing pool \param trigger_id An arbitrary ID assigned by the client that will be returned in OnPerformanceCounterReadCompleted.