lib/sw_apps/zynqmp_dram_test/src/xmt_main.c
static double XMt_CalcTime(XTime tCur)
{
	XTime tEnd;
	XTime tDiff;
	double tPerfS;

	XTime_GetTime(&tEnd);
	tDiff = tEnd - tCur;

	/* Convert tPerf into seconds */
	tPerfS = ((double)tDiff / (double)COUNTS_PER_SECOND);

	return tPerfS;
}
/*****************************************************************************/
/**
 * This function measures the total time taken between two points for Memory
 * Test timing calculations
 *
 * @param Current/Start time
 *
 * @return Total Time
 *
 * @note none
 *****************************************************************************/
This function measures the total time taken between two points for Memory
Test timing calculations

@param Current/Start time

@return Total Time

@note none
This function measures the total time taken between two points for Memory Test timing calculations @param Current / Start time @return Total Time @note none
static double XMt_CalcTime(XTime tCur)
{
	XTime tEnd;
	XTime tDiff;
	double tPerfS;
	XTime_GetTime(&tEnd);
	tDiff = tEnd - tCur;
	tPerfS = ((double)tDiff / (double)COUNTS_PER_SECOND);
	return tPerfS;
}
static double XMt_CalcTime ( XTime tCur ) { XTime tEnd ; XTime tDiff ; double tPerfS ; XTime_GetTime ( & tEnd ) ; tDiff = tEnd - tCur ; tPerfS = ( ( double ) tDiff / ( double ) COUNTS_PER_SECOND ) ; return tPerfS ; }
This function measures the total time taken between two points for Memory
 Test timing calculations
This function measures the total time taken between two points for Memory Test timing calculations
/* Convert tPerf into seconds */