XilinxProcessorIPLib/drivers/tmr_manager/src/xtmr_manager_stats.c
void XTMR_Manager_GetStats(XTMR_Manager *InstancePtr, XTMR_Manager_Stats *StatsPtr)
{
	/*
	 * Assert validates the input arguments
	 */
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(StatsPtr != NULL);
	Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);

	/* Copy the stats from the instance to the specified stats */

	StatsPtr->InterruptCount = InstancePtr->Stats.InterruptCount;
	StatsPtr->RecoveryCount = InstancePtr->Stats.RecoveryCount;
}
/****************************************************************************/
/**
*
* Returns a snapshot of the current statistics in the structure specified.
*
* @param	InstancePtr is a pointer to the XTMR_Manager instance.
* @param	StatsPtr is a pointer to a XTMR_ManagerStats structure to where the
*		statistics are to be copied.
*
* @return	None.
*
* @note		None.
*
*****************************************************************************/
Returns a snapshot of the current statistics in the structure specified.
Returns a snapshot of the current statistics in the structure specified .
void XTMR_Manager_GetStats(XTMR_Manager *InstancePtr, XTMR_Manager_Stats *StatsPtr)
{
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(StatsPtr != NULL);
	Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
	StatsPtr->InterruptCount = InstancePtr->Stats.InterruptCount;
	StatsPtr->RecoveryCount = InstancePtr->Stats.RecoveryCount;
}
void XTMR_Manager_GetStats ( XTMR_Manager * InstancePtr , XTMR_Manager_Stats * StatsPtr ) { Xil_AssertVoid ( InstancePtr != NULL ) ; Xil_AssertVoid ( StatsPtr != NULL ) ; Xil_AssertVoid ( InstancePtr -> IsReady == XIL_COMPONENT_IS_READY ) ; StatsPtr -> InterruptCount = InstancePtr -> Stats . InterruptCount ; StatsPtr -> RecoveryCount = InstancePtr -> Stats . RecoveryCount ; }
Returns a snapshot of the current statistics in the structure specified.
Returns a snapshot of the current statistics in the structure specified .
/*
	 * Assert validates the input arguments
	 */ /* Copy the stats from the instance to the specified stats */