Convert MIPS to CPU Seconds

5 pts.
CPU hours
MIPS conversion
Is there a way to convert MIPS to CPU seconds

Software/Hardware used:
ibm z10 running z?OS 1.10

Answer Wiki

Thanks. We'll let you know when a new response is added.

There is not a conversion from MIPS to CPU time. While the two things are sort of related, there is no algorithm for conversion. There is no such thing as X MIPS = Y CPU time.

Discuss This Question: 5  Replies

There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • carlosdl
    Some data is missing. MIPS is a speed measure, so in order to get a time measure (seconds) from it, you would need the number of instructions performed.
    85,865 pointsBadges:
  • Chippy088
    MIPS is the number of Millions (of) Instruction Per Second, as per cpu manufacturers specifications. So if you have a MIPS number you know how long it takes to perform a set number of instructions per second. Try this link and you will know more.
    4,625 pointsBadges:
  • TomLiotta
    ( Instructions_counted / 1000000 ) / MIPS = CPU seconds Since MIPS is "millions of instructions per second" and CPU seconds is essentially "seconds of CPU execution", you divide the number of instructions that ran by a million and divide that result by your MIPS value. MIPS is an (I/S) value -- instructions per second. CPU seconds is a (S) value -- seconds. Instructions_counted is an (I) value -- instructions. Divide an (I) value by an (I/S) value to arrive at a (S) value. Of course, the result is effectively meaningless for most purposes. But some people still want to do calculations, for the fun of it, I suppose. Tom
    125,585 pointsBadges:
  • philpl1jb
    The problem with attempting to relate these is that a single computer instruction may take 1, 5, 10, 20 cycles to perform. The number of cycles required by an instruction varies by the instruction and the processor. Phil
    54,090 pointsBadges:
  • Chippy088
    I remember when I was using Assembler language, I came across a table that gave the Assembler instruction, (i.e. jmp) and the number of cpu cycles it took to complete the action. The purpose of the table was to show that tighter code could be written, and the size of the .com file could be reduced. (This was in the days of the tiny ram (3.5K) DOS PCs) This table was interesting, but was of no use to what I was doing, at the time. It might be on the web somewhere.
    4,625 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.


Share this item with your network: