> So let's say my CPUs are 1200MHz, does it make each increment
> 1/1,200,000 second?

1 MHz is 1,000,000 Hz.  So if your CPU is 1200 MHz, that's 1,200,000,000
Hz.  With this in mind, the increment would actually be 1/1,200,000,000
of a second.

> And if I have 600,000 interrupt 6 increments in one second, does it
> mean the CPU took half a seconds taking care of the interrupt

As far as I can tell, this is just the amount of time the CPU spent
servicing interrupts at a particular level.  I don't think this keeps
track of the actual number of interrupts recieved, just the time spent
dealing with them.  I could be wrong about that, though.

To answer the second half of your question:

600,000/1,200,000,000 = .0005 seconds, or 500 microseconds.

-j

_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org

Reply via email to