lib/sw_apps/zynq_dram_test/src/test01.c
double timer_value(int t, double fpclk)
{
  double x;
  x = ((double) t) * 65536.0 / (fpclk * 1000000.0);
  return x;
}
/****************************************************************************
 * Function: timer_value
 * Description:  returns timer value in seconds
          t in timer units, fpclk in mhz
 ****************************************************************************/
timer_value
Description:  returns timer value in seconds
t in timer units, fpclk in mhz
timer_value Description : returns timer value in seconds t in timer units fpclk in mhz
double timer_value(int t, double fpclk)
{
  double x;
  x = ((double) t) * 65536.0 / (fpclk * 1000000.0);
  return x;
}
double timer_value ( int t , double fpclk ) { double x ; x = ( ( double ) t ) * 65536.0 / ( fpclk * 1000000.0 ) ; return x ; }
Function: timer_value
 Description:  returns timer value in seconds
t in timer units, fpclk in mhz
Function : timer_value Description : returns timer value in seconds t in timer units fpclk in mhz