Ignore:
Timestamp:
Mar 30, 2009 6:22:16 PM (14 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/include/pj/os.h

    r2481 r2560  
    12691269 
    12701270/** 
     1271 * Variant of #pj_elapsed_msec() which returns 64bit value. 
     1272 */ 
     1273PJ_DECL(pj_uint64_t) pj_elapsed_msec64(const pj_timestamp *start, 
     1274                                       const pj_timestamp *stop ); 
     1275 
     1276/** 
    12711277 * Calculate the elapsed time in 32-bit microseconds. 
    12721278 * This function calculates the elapsed time using highest precision 
Note: See TracChangeset for help on using the changeset viewer.