Ignore:
Timestamp:
May 25, 2009, 5:26:52 PM (15 years ago)
Author:
Christoph Mayer
Message:

-getElapsedMillis gefixt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/utility/misc/Helper.cpp

    r3037 r3683  
    249249unsigned long Helper::getElapsedMillis ()
    250250{
    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 );
    252254}
    253255
Note: See TracChangeset for help on using the changeset viewer.