M3G Timing Benchmarks

ti.platforms.stellaris:LM4FSXLH5BB

Benchmark Cycles (1)
Interrupt latency 109 (2)
Hwi_enable 9
Hwi_disable 12
Hwi dispatcher prolog 105
Hwi dispatcher epilog 159
Hwi dispatcher 256
Hardware Interrupt to Blocked Task 473
Hardware Interrupt to Software Interrupt 362
Swi_enable 74
Swi_disable 9
Post Software Interrupt Again 41
Post Software Interrupt without Context Switch 137
Post Software Interrupt with Context Switch 237
Create a New Task without Context Switch 1764
Set a Task Priority without a Context Switch 191
Task_yield 221
Post Semaphore, No Waiting Task 64
Post Semaphore No Task Switch 203
Post Semaphore with Task Switch 283
Pend on Semaphore, No Context Switchi 65
Pend on Semaphore with Task Switch 283
Clock_getTicks 8

(1) The benchmark application was built using BIOS.LibType_Custom with the following BIOS.customCCOpts settings: "-mcpu=cortex-m3 -mthumb -mabi=aapcs -mapcs -mcpu=cortex-m3 -mthumb -mabi=aapcs -mapcs-frame -ffunction-sections -fdata-sections -O3 -combine".

Timings were obtained using the Stellaris Blizzard LM4FSXLH5BB board running at 40MHz.

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