TI Cortex-M3 Timing Benchmarks

ti.platforms.stellaris:LM4F120H5QR:1 (compiler version: 5.1.1)

Benchmark Cycles (1)
Interrupt Latency 82 (2)
Hwi_restore() 3
Hwi_disable() 4
Hwi dispatcher prolog 105
Hwi dispatcher epilog 242
Hwi dispatcher() 338
Hardware Interrupt to Blocked Task 540
Hardware Interrupt to Software Interrupt 372
Swi_enable() 81
Swi_disable() 14
Post Software Interrupt Again 39
Post Software Interrupt without Context Switch 100
Post Software Interrupt with Context Switch 214
Create a New Task without Context Switch 2034
Set a Task Priority without a Context Switch 166
Task_yield 203
Post Semaphore, No Waiting Task 50
Post Semaphore No Task Switch 196
Post Semaphore with Task Switch 255
Pend on Semaphore, No Context Switch 73
Pend on Semaphore with Task Switch 278
Clock_getTicks 10

(1) The benchmark application was built using BIOS.LibType_Custom with the following BIOS.customCCOpts settings: "--endian=little -mv7M3 --abi=eabi -ms --opt_for_speed=2 --program_level_compile -o3".

Timings were obtained using the Tiva Launchpad TM4C123GH6PM board running at 40MHz.

(2) The M3 target also supports zero latency interrupts. See ti.sysbios.family.arm.m3.Hwi cdocs for details.