Changeset 3683 for source/ariba/utility/misc
- Timestamp:
- May 25, 2009, 5:26:52 PM (15 years ago)
- Location:
- source/ariba/utility/misc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/utility/misc/Helper.cpp
r3037 r3683 249 249 unsigned long Helper::getElapsedMillis () 250 250 { 251 return static_cast<unsigned long>(((double)clock() / (double)(CLOCKS_PER_SEC)) * 1000.0); 251 struct timeb tp; 252 ftime( &tp ); 253 return ( tp.time*1000 + tp.millitm ); 252 254 } 253 255 -
source/ariba/utility/misc/Helper.h
r3682 r3683 52 52 #include <sys/types.h> 53 53 #include <sys/stat.h> 54 #include <sys/timeb.h> 54 55 #include <boost/lexical_cast.hpp> 55 56 #include <boost/algorithm/string/replace.hpp>
Note:
See TracChangeset
for help on using the changeset viewer.