2015-09-18 10:02 AM
Hi.
I have developed a project and now i have been asked about Mips that i used from ARM device(I'm using STM32F4xx).I'm using IAR Compiler. I will be thankful if every body guide me.thank you. #mips2015-09-18 04:11 PM
Well if you want to measure the number of machine cycles a particular piece of code is consuming there's the DWT_CYCCNT register. If you know how long your code takes you can figure out how many thousand or million times you can do it in a second. This is a measure of throughput, rather than instruction execution time, or instructions per second.
Not every instruction executes in one machine cycle, but I'm not looking to get into a philosophical argument about pipelined RISC architectures, and how long loads/stores may take across different buses and through write buffers.[DEAD LINK /public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Duration%20of%20FLOAT%20operations&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B]https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2Fcortex_mx_stm32%2FDuration%20of%20FLOAT%20operations&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B