XilinxProcessorIPLib/drivers/aiengine/src/tile/xaietile_perfcnt.c
u8 XAieTileCore_PerfCounterControl(XAieGbl_Tile *TileInstPtr, u8 Counter,
		u16 StartEvent, u16 StopEvent, u16 ResetEvent)
{
	XAie_AssertNonvoid(TileInstPtr != XAIE_NULL);
	XAie_AssertNonvoid(TileInstPtr->TileType == XAIEGBL_TILE_TYPE_AIETILE);
	XAie_AssertNonvoid(Counter < 4);

	return _XAieTile_PerfCounterControl(TileInstPtr,
			XAIETILE_PERFCNT_MODULE_CORE, Counter,
			StartEvent, StopEvent, ResetEvent);
}
/*****************************************************************************/
/**
*
* This API sets the performance counter control for Core module
*
* @param	TileInstPtr - Pointer to the Tile instance.
* @param	Counter - Counter ID. 0 to 3.
* @param	StartEvent - Event ID to start
* @param	StopEvent - Event ID to stop
* @param	ResetEvent - Event ID to reset
*
* @return	XAIE_SUCCESS on success
*
* @note		None.
*
*******************************************************************************/
This API sets the performance counter control for Core module
This API sets the performance counter control for Core module
u8 XAieTileCore_PerfCounterControl(XAieGbl_Tile *TileInstPtr, u8 Counter,
		u16 StartEvent, u16 StopEvent, u16 ResetEvent)
{
	XAie_AssertNonvoid(TileInstPtr != XAIE_NULL);
	XAie_AssertNonvoid(TileInstPtr->TileType == XAIEGBL_TILE_TYPE_AIETILE);
	XAie_AssertNonvoid(Counter < 4);
	return _XAieTile_PerfCounterControl(TileInstPtr,
			XAIETILE_PERFCNT_MODULE_CORE, Counter,
			StartEvent, StopEvent, ResetEvent);
}
u8 XAieTileCore_PerfCounterControl ( XAieGbl_Tile * TileInstPtr , u8 Counter , u16 StartEvent , u16 StopEvent , u16 ResetEvent ) { XAie_AssertNonvoid ( TileInstPtr != XAIE_NULL ) ; XAie_AssertNonvoid ( TileInstPtr -> TileType == XAIEGBL_TILE_TYPE_AIETILE ) ; XAie_AssertNonvoid ( Counter < 4 ) ; return _XAieTile_PerfCounterControl ( TileInstPtr , XAIETILE_PERFCNT_MODULE_CORE , Counter , StartEvent , StopEvent , ResetEvent ) ; }
This API sets the performance counter control for Core module
This API sets the performance counter control for Core module