XilinxProcessorIPLib/drivers/rgb2ycrcb/src/xrgb2ycrcb.c
u32 XRgb2YCrCb_GetDbgLineCount(XRgb2YCrCb *InstancePtr)
{
	u32 DbgLineCount;

	/* Verify arguments. */
	Xil_AssertNonvoid(InstancePtr != NULL);
	Xil_AssertNonvoid(InstancePtr->Config.HasDebug != (u16)0x0);

	/* Line Throughput monitor */
	DbgLineCount = XRgb2YCrCb_ReadReg(InstancePtr->Config.BaseAddress,
					(XRGB_SYSDEBUG1_OFFSET));

	return DbgLineCount;
}
/*****************************************************************************/
/**
*
* This function returns Line count, the number of lines processed since
* power-up. This is available only if the debugging feature is enabled.
*
* @param	InstancePtr is a pointer to the XRgb2YCrCb instance.
*
* @return	DbgLineCount, number of lines processed since power-up.
*
* @note		The SYSDEBUG1 or Line Throughput Monitor register indicates
*		the number of lines processed since power-up or the last time
*		the core was reset. The SYSDEBUG registers can be useful to
*		identify external memory / Frame buffer / throughput
*		bottlenecks in a video system.
*		Debug functionality should be enabled.
*
******************************************************************************/
This function returns Line count, the number of lines processed since
power-up. This is available only if the debugging feature is enabled.
This function returns Line count the number of lines processed since power - up . This is available only if the debugging feature is enabled .
u32 XRgb2YCrCb_GetDbgLineCount(XRgb2YCrCb *InstancePtr)
{
	u32 DbgLineCount;
	Xil_AssertNonvoid(InstancePtr != NULL);
	Xil_AssertNonvoid(InstancePtr->Config.HasDebug != (u16)0x0);
	DbgLineCount = XRgb2YCrCb_ReadReg(InstancePtr->Config.BaseAddress,
					(XRGB_SYSDEBUG1_OFFSET));
	return DbgLineCount;
}
u32 XRgb2YCrCb_GetDbgLineCount ( XRgb2YCrCb * InstancePtr ) { u32 DbgLineCount ; Xil_AssertNonvoid ( InstancePtr != NULL ) ; Xil_AssertNonvoid ( InstancePtr -> Config . HasDebug != ( u16 ) 0x0 ) ; DbgLineCount = XRgb2YCrCb_ReadReg ( InstancePtr -> Config . BaseAddress , ( XRGB_SYSDEBUG1_OFFSET ) ) ; return DbgLineCount ; }
This function returns Line count, the number of lines processed since
power-up.
This function returns Line count the number of lines processed since power - up .
/* Verify arguments. */ /* Line Throughput monitor */