Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 593 → Rev 594

/shark/trunk/tracer/newtrace/FTrace_OSD_ll.c
64,14 → 64,10
}
}
 
__asm__("":::"memory");
 
__asm__("cpuid\n\t"
"rdtsc\n\t"
: "=a" (tsclow), "=d" (tschigh) : : "ecx","ebx");
__asm__("":::"memory");
*(DWORD *)current = (DWORD)((DWORD)(par1) << 16 | (DWORD)(type));
*(DWORD *)(current + 4) = tschigh;
*(DWORD *)(current + 8) = tsclow;