testing/icgen/random_verschillende_resoluties_N-GenIC/gadget3_64/system.c
double timediff(double t0, double t1)
{
  double dt;

  dt = t1 - t0;

  if(dt < 0)			/* overflow has occured (for systems with 32bit tick counter) */
    {
#ifdef WALLCLOCK
      dt = 0;
#else
      dt = t1 + pow(2, 32) / CLOCKS_PER_SEC - t0;
#endif
    }

  return dt;
}
/* returns the time difference between two measurements 
 * obtained with second(). The routine takes care of the 
 * possible overflow of the tick counter on 32bit systems.
 */
returns the time difference between two measurements
obtained with second(). The routine takes care of the
possible overflow of the tick counter on 32bit systems.
returns the time difference between two measurements obtained with second () . The routine takes care of the possible overflow of the tick counter on 32bit systems .
double timediff(double t0, double t1)
{
  double dt;
  dt = t1 - t0;
  if(dt < 0)			
    {
#ifdef WALLCLOCK
      dt = 0;
#else
      dt = t1 + pow(2, 32) / CLOCKS_PER_SEC - t0;
#endif
    }
  return dt;
}
double timediff ( double t0 , double t1 ) { double dt ; dt = t1 - t0 ; if ( dt < 0 ) { #ifdef WALLCLOCK dt = 0 ; #else dt = t1 + pow ( 2 , 32 ) / CLOCKS_PER_SEC - t0 ; #endif } return dt ; }
returns the time difference between two measurements
 obtained with second().
returns the time difference between two measurements obtained with second () .
/* overflow has occured (for systems with 32bit tick counter) */