|
-
Dec 11th, 2002, 05:56 PM
#1
Thread Starter
Addicted Member
Processor Inructions per second
How many Instructions does the Intel Pentium 4 Processor 1GHz do Per Second
can anybody give me a formular
please help
-
Dec 12th, 2002, 02:26 AM
#2
Addicted Member
It's a long time since I had any doings with the innards of processors, but as far as I can remember there's no 'one' answer to that.
You would need the table of cpu instructions which shows how many processor cycles each instruction takes. Then, knowing the speed of the processor, you would know how many of each instruction could be undertaken per second. You just need to divide the processor speed by the cycles per instruction.
Check the units:
(cycles/sec) / (cycles/instr)
= (c/s) * (instr/c)
= (c * instr) / (s * c)
=instr/s
But from a practical point of view that doesn't help an awful lot, since the stream of instructions to be processed is a mish-mash not a stream of the same instruction repeated.
edit... PS, bear in mind that the above is to do with CPU instructions, not (eg) vb functions. I've no clue how to relate a (eg) vb multiply to what cpu instructions actually get carried out under the hood.
Last edited by Spooner; Dec 12th, 2002 at 03:05 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|