by "Marven Lee" <spamtrap@[EMAIL PROTECTED]
>
Mar 17, 2008 at 08:06 PM
Stargazer wrote:
> I measured CPU clocks elapsed between the first assembly instruction
> executed at interrupt's entry point in IDT and beginning of the C code
> of user-defined interrupt handler and the result was a big
> surprise :-) It took about 2500 cycles despite that I have only a
> handful of assembly instructions before a call to user-supplied IRQ
> handler.
Is the Celeron 2.8G related to the Pentium 4? I'm not clued up on
processors of the last few years.
Interrupts, int and iret took about 1900 to 2000 cycles on the P4
processors for some reason. I know it was significantly higher than the
earlier processors that took a few hundred cycles. I'm not sure
how many cycles each instruction takes on its own though.
I think someone, maybe Piotr ran some benchmarks of int/iret and
sysenter/sy***it on the P4 a few years ago and posted them in a.o.d.
--
Marv