What is MIPS(Million of Instructions Per Second)?

• Last Updated : 10 May, 2020

It may be a strategy of measuring the raw speed of a computer’s processor. Since the MIPS estimation doesn’t take into consideration other components such as the computer’s I/O speed or processor engineering, it isn’t continuously a reasonable way to degree the execution of a computer. For the case, a computer evaluated at 100 MIPS may be able to computer certain capacities quicker than another computer evaluated at 120 MIPS.

The MIPS estimation has been utilized by computer producers like IBM to degree the “cost of computing.” The value of computers is decided in MIPS per dollar. Interests, the esteem of computers in MIPS per dollar has consistently multiplied on a yearly premise for a final couple of decades.

How to Calculate MIPS

Required inputs for calculating MIPS are the Processor’s number of instructions per second, CPU processor speed (cycles per second), CPI (average clock cycles per instruction), and Execution time.

Method 1:
If no. of instructions and Execution time is given.

Step 1: Perform Divide operation between no. of instructions and Execution time and store the value in a variable.

Step 2: Perform Divide operation between that variable and 1 million for finding millions of instructions per second.

Example:

if a computer completed 2 million instructions in 0.10 seconds

2 million/0.10 = 20 million.

No of MISP=20 million/1 million

=20

Method 2:
If the number of cycles per second (CPU) and the number of cycles per instruction (CPI) are given.

Step 1: Perform Divide operation between the number of cycles per second (CPU) and the number of cycles per instruction (CPI) and store the value in a variable.

Step 2: Perform Divide operation between that variable and 1 million for finding millions of instructions per second.

Example:

If a computer with a CPU of 400 megahertz had a CPI of 2

400/2=200

No of MISP=200/1 million
0.0002