Ignore:
Timestamp:
Oct 4, 2009, 9:36:57 AM (16 years ago)
Author:
vladest
Message:
  1. Increased number of handles (4096 is not enougth for some Flash animations)
  2. Added CPU cycles couter for more accurate profiling
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/asmutil.asm

    r9946 r21343  
    239239_clear_bit endp
    240240
     241rdtsc           macro
     242                db      0Fh, 31h
     243endm
     244
     245                public  GetPentiumTSC
     246GetPentiumTSC   proc    near
     247                mov     ecx , [esp + 4]
     248                rdtsc
     249                mov     [ecx] , eax
     250                mov     [ecx + 4] , edx
     251                xor     eax , eax
     252                ret
     253GetPentiumTSC   endp
     254
    241255CODE32          ENDS
    242256
Note: See TracChangeset for help on using the changeset viewer.