Ignore:
Timestamp:
Mar 30, 2009 6:22:16 PM (16 years ago)
Author:
bennylp
Message:

Ticket #764: Bug with milliseconds time resolution in WinCE/Windows Mobile targets (thanks Johan Lantz for the report)

  • use QueryPerformanceCounter?() (via pj_get_timestamp() API) to emulate the msec precision)
  • more strict tests in pjlib-test
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/os_timestamp_common.c

    r2394 r2560  
    153153} 
    154154 
     155PJ_DEF(pj_uint64_t) pj_elapsed_msec64(const pj_timestamp *start, 
     156                                      const pj_timestamp *stop ) 
     157{ 
     158    return (pj_uint64_t)elapsed_msec(start, stop); 
     159} 
     160 
    155161PJ_DEF(pj_time_val) pj_elapsed_time( const pj_timestamp *start, 
    156162                                     const pj_timestamp *stop ) 
Note: See TracChangeset for help on using the changeset viewer.