Texas Instruments

Table of Contents

GCC Cortex-M3 Timing Benchmarks

Target Platform: ti.platforms.simplelink:CC2650:1

Tool Chain Version: 4.9.3

BIOS Version: bios_6_46_00_22_eng

XDCTools Version: xdctools_3_32_01_11_eng

Benchmark Cycles
Interrupt Latency 175
Hwi_restore() 1
Hwi_disable() 4
Hwi dispatcher prolog 118
Hwi dispatcher epilog 204
Hwi dispatcher 313
Hardware Interrupt to Blocked Task 541
Hardware Interrupt to Software Interrupt 389
Swi_enable() 85
Swi_disable() 22
Post Software Interrupt Again 45
Post Software Interrupt without Context Switch 110
Post Software Interrupt with Context Switch 220
Create a New Task without Context Switch 4643
Set a Task Priority without a Context Switch 178
Task_yield() 217
Post Semaphore No Waiting Task 68
Post Semaphore No Task Switch 210
Post Semaphore with Task Switch 274
Pend on Semaphore No Context Switch 78
Pend on Semaphore with Task Switch 308
Clock_getTicks() 269
POSIX Create a New Task without Context Switch 7516
POSIX Set a Task Priority without a Context Switch 314
POSIX Post Semaphore No Waiting Task 78
POSIX Post Semaphore No Task Switch 221
POSIX Post Semaphore with Task Switch 284
POSIX Pend on Semaphore No Context Switch 91
POSIX Pend on Semaphore with Task Switch 320

The benchmark application was built using BIOS.LibType_Custom with the following BIOS.customCCOpts settings:

“-mcpu=cortex-m3 -mthumb -mabi=aapcs -O3 -Wunused -Wunknown-pragmas -ffunction-sections -fdata-sections -Dti_sysbios_Build_useHwiMacros -Dfar= -D__DYNAMIC_REENT__”.

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

See the SYS/BIOS User’s Guide for more information regarding how interrupt latency is calculated.