Results 1 to 6 of 6
Hybrid View
-
22nd December 2008 16:41 #1
-
22nd December 2008 16:54 #2
( , , RDTSC ), , :
Win64 __asm _rdtsc(), 64- . Win32. LARGE_INTEGER e 64- , ULONG64 __int64, . ( , - ) . , .Code:LARGE_INTEGER liStart, liEnd, liSummary; _asm{ rdtsc mov liStart.HighPart, edx mov liStart.LowPart , eax } // rabotata tuka _asm{ rdtsc mov liEnd.HighPart, edx mov liEnd.LowPart , eax } liSummary.u = liEnd.u - liStart.u;
, . IRQL<=DISPATCH_LEVEL , . , , .
.Last edited by Bombera; 22nd December 2008 at 17:15.
EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|
-
22nd December 2008 18:08 #3
Join Date: Sep:2005
Location: Sofia
Posts: 18,517
. , , , .. -

, .
-
22nd December 2008 18:56 #4
, . ( )
A RDMSR, WRMSR - , .
Interlocked , spin_lock , .Last edited by Bombera; 22nd December 2008 at 19:01.
EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|
-
22nd December 2008 20:19 #5
Join Date: Sep:2005
Location: Sofia
Posts: 18,517
. x86
-
22nd December 2008 21:13 #6
Join Date: Apr:2006
Location:
Posts: 8,666
Pentium time-stamp RDTSC. ... .
, :
http://www.ecrypt.eu.org/ebats/cpucycles.html
, Bombera, :\Last edited by smelkomar; 22nd December 2008 at 21:18.




Reply With Quote
Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in