This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

MIPS Calculation on ARMv7

Hi All,

I want to measure MIPS(Million Instruction per second, i.e. instruction count per second) on ARMv7 Platforms. What is the procedure for calculating MIPS for ARMv7 platforms?

Thanks and Regards

Sridhar Artham

Parents
  • Hi,

    It can't be 1 MIPS when running at 1 MHz on scalar CPU. For example, take ARM9E assembly code where there various types of instructions like load, multiply, add etc. Consider Multiply(SMULL) will take 3 cycles i.e. only one instruction can be executed in 3 cycles.

    My intention of asking MIPS calculation is that to know how many instructions it can execute in one second(without considering memory latencies, interlock dependencies, dual issue etc). Is there any way that I can calculate this using small sub routines?

    Can you explain me what is Dhrystone? How to obtain these numbers?

    I have sample codes like this:

    main(int argc, char *argv[])

    {

         // Creation()

        // Initialization()

        while(1)

        {

              // memory/file read of data

             // Process_Data()

              // memory/file write of data

        }

        // DestroyMemory()

    }

    I want to find out how many instructions has been executed for the Process_Data() function in a second?

    Thanks and Regards

    Sridhar Artham

Reply
  • Hi,

    It can't be 1 MIPS when running at 1 MHz on scalar CPU. For example, take ARM9E assembly code where there various types of instructions like load, multiply, add etc. Consider Multiply(SMULL) will take 3 cycles i.e. only one instruction can be executed in 3 cycles.

    My intention of asking MIPS calculation is that to know how many instructions it can execute in one second(without considering memory latencies, interlock dependencies, dual issue etc). Is there any way that I can calculate this using small sub routines?

    Can you explain me what is Dhrystone? How to obtain these numbers?

    I have sample codes like this:

    main(int argc, char *argv[])

    {

         // Creation()

        // Initialization()

        while(1)

        {

              // memory/file read of data

             // Process_Data()

              // memory/file write of data

        }

        // DestroyMemory()

    }

    I want to find out how many instructions has been executed for the Process_Data() function in a second?

    Thanks and Regards

    Sridhar Artham

Children