Changeset 3725 for source/ariba
- Timestamp:
- May 27, 2009, 9:11:23 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/utility/misc/Helper.cpp
r3690 r3725 249 249 unsigned long Helper::getElapsedMillis () 250 250 { 251 static unsigned long zero = 0; 252 251 253 struct timeb tp; 252 254 ftime( &tp ); 253 return ( tp.time*1000 + tp.millitm ); 255 256 unsigned long val = tp.time*1000 + tp.millitm; 257 if( zero == 0 ) zero = val; 258 259 return val-zero; 254 260 } 255 261
Note:
See TracChangeset
for help on using the changeset viewer.