XilinxProcessorIPLib/drivers/aiengine/src/lib/xaielib.c
int XAieLib_usleep(u64 Usec)
{
#ifdef __AIESIM__
	return XAieSim_usleep(Usec);
#else
	/**
	 * FIXME: Platform implementation of usleep() API, returns void when it
	 * is expected to return SUCCESS/FAILURE code. Instead of returning a
	 * zero, this API must return SUCCESS/FAILURE code when usleep API is
	 * fixed.
	 */
	usleep(Usec);
	return 0;
#endif
}
/*****************************************************************************/
/**
*
* This provides to sleep in micro seconds.
*
* @param	Usec: Micro seconds to sleep
*
* @return	0 for success, and -1 for error..
*
* @note		None.
*
*******************************************************************************/
This provides to sleep in micro seconds.
This provides to sleep in micro seconds .
int XAieLib_usleep(u64 Usec)
{
#ifdef __AIESIM__
	return XAieSim_usleep(Usec);
#else
	usleep(Usec);
	return 0;
#endif
}
int XAieLib_usleep ( u64 Usec ) { #ifdef __AIESIM__ return XAieSim_usleep ( Usec ) ; #else usleep ( Usec ) ; return 0 ; #endif }
This provides to sleep in micro seconds.
This provides to sleep in micro seconds .
/**
	 * FIXME: Platform implementation of usleep() API, returns void when it
	 * is expected to return SUCCESS/FAILURE code. Instead of returning a
	 * zero, this API must return SUCCESS/FAILURE code when usleep API is
	 * fixed.
	 */