| Home | Forums | What's new | Resources | |
| Is there any way of measuring performance for SH-2? |
| mrkotfw - Jan 29, 2017 |
| antime | Jan 29, 2017 | ||
| Renesas' own simulator can produce a pipeline trace, but I can't remember if there's a free version available. GDB should contain a simulator, but it's not cycle-accurate. Using the J-core... might work, but requires knowledge of VHDL and its simulation tools. The traditional way of using a timer to measure elapsed time will work, but it's a pretty coarse measurement. | |||
| vbt | Jan 30, 2017 | ||
| what about using saturn timer functions : TIM_FRT_INIT(TIM_CK S_32); TIM_FRT_SET_16(0); TIM_FRT_CNT_TO_MCR( TIM_FRT_GET_16()); | |||
| mrkotfw | Jan 30, 2017 | ||
| Those macros/functions are roughly what antime mentioned. | |||