convert.h File Reference

Defines


Detailed Description


Define Documentation

#define convertDiffTimeToMsec ( END_TV,
BEGIN_TV   ) 
#define convertDiffTimeToUsec ( END_TV,
BEGIN_TV   ) 

Calculate the time differnce between the beginning and the end. Convert the result into an integer value (in multiples of microseconds).

Parameters:
END_TV (struct timeval) variable of ending time
BEGIN_TV (struct timeval) variable of beginning time
Returns:
time difference in usec

Referenced by libusbReadData(), and libusbWriteData().


This file is part of the documentation for JTAG-GDB Server for ARM .

Generated on Mon Feb 15 21:23:21 2010 by doxygen 1.6.2.