Hybrid worst-case timing analysis

TimeWeaver combines static analysis with non-intrusive measurements to provide worst-case execution time estimates.

TimeWeaver screenshot
TimeWeaver screenshot

The tool estimates the worst-case execution time (WCET) of tasks based on the exe­cution time of trace segments obtained from real-time instruction-level tracing. The computed time bounds are valuable for soft real-time systems and provide feedback for optimizing worst-case performance.

Your benefits

Workflow

TimeWeaver takes as input:

  1. a binary executable
  2. execution traces,
    e.g. BHM traces compliant to the IEEE-ISTO 5001 standard
  3. optional user annotations,
    e.g. on loop bounds, in the same format as other AbsInt analyzers such as aiT or StackAnalyzer

TimeWeaver then provides an upper bound of the length of the longest execution path, based on the local time measurements in the traces.

Exceptional precision

The following table compares TimeWeaver results with maximum observed end-to-end times for a variety of benchmark applications executed on an NXP T1040 evaluation board and recorded with a Lauterbach PowerDebug Pro JTAG debugger.

BenchmarkMax observed cyclesTimeWeaver estimateΔ
crc 809068 829039 2.5%
edn 4788025 4791420 0.1%
eratosthenes 368345 369803 0.4%
dhrystone 168093 177314 5.5%
md5 127857 131718 3.0%
nestedDepLoops 2747357 2747359 <0.1%
sha 23426161 23815350 1.7%
avionics task 420677 498028 18.4%
automotive 1 65058 71964 10.6%
automotive 2 27215 28967 6.4%
automotive 3 17386 18595 7.0%
automotive 4 101749 109302 7.4%

Some of the benchmarks (e.g. edn, nestedDepLoops) consist only of a single path. For these, the delta reflects TimeWeaver’s ability to combine measurements of different hardware states.

Other benchmarks (notably, the avionics and automotive tasks) contain quite complex control flow. For these, the static path analysis is able to construct scenarios for which no single trace has been recorded.

Features

The analysis results reported by TimeWeaver include:

TimeWeaver offers the same powerful user interface you are used to from working with other AbsInt tools, with fully integrated graphical and textual viewers for control flow, analysis results, source code, assembly code, and configuration files. You can:

Qualification support

QSK icon

Your usage of TimeWeaver can be qualified according to ISO 26262, DO-178B/C, and other safety standards. We offer special Qualification Support Kits that help you simplify and automate your qualification process.

Supported targets

TimeWeaver is available for a growing variety of processors, compilers, and trace formats.

Free 30-day trial

Request your free trial package today, complete with free training and support.