Texas Instruments

Table of Contents

TI Cortex-M3 Timing Benchmarks

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

Tool Chain Version: 16.9.3

BIOS Version: bios_6_51_00_11_eng

XDCTools Version: xdctools_3_50_02_20_core

Benchmark Cycles
Interrupt Latency 126
Hwi_restore() 14
Hwi_disable() 14
Hwi dispatcher prolog 112
Hwi dispatcher epilog 204
Hwi dispatcher 306
Hardware Interrupt to Blocked Task 531
Hardware Interrupt to Software Interrupt 379
Swi_enable() 75
Swi_disable() 16
Post Software Interrupt Again 38
Post Software Interrupt without Context Switch 107
Post Software Interrupt with Context Switch 212
Create a New Task without Context Switch 4641
Set a Task Priority without a Context Switch 159
Task_yield() 213
Post Semaphore No Waiting Task 61
Post Semaphore No Task Switch 201
Post Semaphore with Task Switch 265
Pend on Semaphore No Context Switch 72
Pend on Semaphore with Task Switch 301
Clock_getTicks() 375
POSIX Create a New Task without Context Switch 7339
POSIX Set a Task Priority without a Context Switch 215
POSIX Post Semaphore No Waiting Task 72
POSIX Post Semaphore No Task Switch 214
POSIX Post Semaphore with Task Switch 277
POSIX Pend on Semaphore No Context Switch 87
POSIX Pend on Semaphore with Task Switch 315

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”.

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.