replace rdtsc as in HEAD

This commit is contained in:
Ulf Möller 2001-03-08 16:49:03 +00:00
parent 3e0d891828
commit 9c3cbe5d7f

View File

@ -577,7 +577,8 @@ static void readtimer(void)
if (have_tsc) {
__try {
__asm {
rdtsc
_emit 0x0f
_emix 0x31
mov cyclecount, eax
}
RAND_add(&cyclecount, sizeof(cyclecount), 1);