Changeset 2003 for GTP/trunk/Lib/Vis/Preprocessing/src/Statistics.h
- Timestamp:
- 01/21/07 00:40:56 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/Statistics.h
r860 r2003 17 17 static inline double TimeDiff(long time1, long time2) // in s 18 18 { 19 const double clk =1.0E-6; // ticks per second20 long t =time2-time1;19 const double clk = 1.0E-6; // ticks per second 20 long t = time2 - time1; 21 21 22 return ((t <0)?-t:t)*clk;22 return ((t < 0) ? -t : t) * clk; 23 23 } 24 24
Note: See TracChangeset
for help on using the changeset viewer.