Texas Instruments

Table of Contents

C674 Timing Benchmarks

Target Platform: ti.platforms.evmTI814X

Tool Chain Version: 8.1.2

BIOS Version: bios_6_51_00_11_eng

XDCTools Version: xdctools_3_50_02_20_core

Benchmark Cycles
Interrupt Latency 1
Hwi_restore() 2
Hwi_disable() 3
Hwi dispatcher prolog 133
Hwi dispatcher epilog 157
Hwi dispatcher 285
Hardware Interrupt to Blocked Task 440
Hardware Interrupt to Software Interrupt 288
Swi_enable() 60
Swi_disable() 13
Post Software Interrupt Again 45
Post Software Interrupt without Context Switch 77
Post Software Interrupt with Context Switch 150
Create a New Task without Context Switch 1332
Set a Task Priority without a Context Switch 136
Task_yield() 191
Post Semaphore No Waiting Task 51
Post Semaphore No Task Switch 159
Post Semaphore with Task Switch 221
Pend on Semaphore No Context Switch 58
Pend on Semaphore with Task Switch 224
Clock_getTicks() 13
POSIX Create a New Task without Context Switch 2400
POSIX Set a Task Priority without a Context Switch 119
POSIX Post Semaphore No Waiting Task 67
POSIX Post Semaphore No Task Switch 173
POSIX Post Semaphore with Task Switch 234
POSIX Pend on Semaphore No Context Switch 76
POSIX Pend on Semaphore with Task Switch 261

The benchmark application was built using BIOS.LibType_Custom with the following BIOS.customCCOpts settings: “-mv6740 -mi10 -mo -pdr -pden -pds=238 -pds=880 -pds1110 –program_level_compile -o3”.

As the timer used to run these benchmarks is run at 1/25 the CPU frequency, a deviation of +-25 cycles is to be expected.

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