Technical newsheet
Test & MeasurementDevice profile
TASKING's agentic AI tames WCET testing for certifiable multicore autos
Single-pass WCET measurement fails on multicore automotive systems as shared L2 cache interference creates timing coupling; TASKING's Vink details an agentic AI workflow that automates thousands of test iterations.
By Olivia Hart4 min read890 words
Features
- Multicore timing coupling arises from shared L2 cache, memory bus, and memory controller contention, invisible to static analysis
- Accurate WCET assessment requires thousands of iterations varying task pairs, start offsets, data sizes, processor configuration, and load levels
- AI agents resolve mid-campaign build errors so iterations complete without human presence
- AI is not directly certifiable; trust must come from a certified toolchain and defined process framework

Multi-thousand-iteration measurement campaigns are the only honest way to bound worst-case execution time (WCET, the longest time a task can take on real hardware) in multicore automotive systems, and TASKING's Gerard Vink argues those campaigns are now automatable with agentic AI while keeping certification traceability intact.
Vink, an industry specialist on TASKING's Business Development and Innovation Team, lays out the case in the second part of his series on certifiable multicore software development for safety-critical automotive applications. His core claim: a single measurement pass, or a purely static one, cannot capture how cores interfere with each other at runtime.
Why multicore breaks WCET analysis
The physics is straightforward. Each core in a typical multicore processor owns a private L1 cache but shares the L2 cache, memory bus, and memory controller with its siblings. Two tasks running on different cores can contend for those shared resources even when they share no data or control flow at all — a phenomenon Vink calls timing coupling.
Cache misses drive the penalty. Every miss forces a memory access, which runs orders of magnitude slower than a cache hit, and heavy misses from one task can flush shared cache lines that another task depends on.
Vink offers a concrete failure mode: Task A has a small cache footprint and performs excellently alone. Task B, with a large cache footprint, flushes the L2 cache frequently when the two run concurrently. Task B's dataset alone introduces substantial variability in Task A's runtime — invisible to static analysis of the software architecture, and invisible to any single-task benchmark.
The interference also shifts with task start offsets, so even repeating the same concurrent pair at different relative start times yields different results. One measurement pass is structurally insufficient.
What an accurate measurement campaign must vary
Vink's recipe for empirical timing-coupling assessment on real target hardware spans five axes:
- Concurrent task combinations, to capture cross-core interference tied to specific L2 cache, memory bus, and memory controller usage
- Task start offsets, to vary the temporal overlap of co-running tasks
- Task data size, to probe L1/L2 cache interference directly
- Processor configuration settings, including cache enable/disable states and core affinity assignments
- System load levels, including stress testing with maximum current load on all cores so measurements align with real-world operation
That grid is what pushes the campaign into the thousands of iterations.
Where agentic AI earns its place
Vink describes a seven-step workflow. Static-analysis tools first assess software complexity, control flow, and data and control coupling, letting developers identify the likely timing hotspots and prioritize which function and task interactions to monitor on-target.
The compiler then instruments the relevant modules with lightweight timing wrappers — and because the instrumented set changes from run to run across the many combinations, this is where automation starts to matter. A human would otherwise have to be present for every iteration. The AI agent can also resolve simple errors mid-campaign: a build failure caused by a particular combination of compiler options can be diagnosed and corrected so the iteration completes rather than halting the analysis.
A hardware debugger supplies non-intrusive, on-target tracing, capturing cycle-accurate, real-time timing data without perturbing execution behavior or skewing WCET measurements. The agent drives the interference scenarios, collects and visualizes execution-time histograms, and produces auditable timing evidence for certification. Downstream tools turn raw data into statistical distributions checked automatically against the system's real-time requirements.
Orchestration is the payoff: overnight testing completes without disruption or a developer physically present. Every agentic action is logged, with exceptions flagged, so a person retains ownership of the process — the human-in-the-loop oversight that safety standards demand.
Can AI output ever be a certifiable artifact?
Here Vink draws the line that certification assessors will care about. AI itself, he writes, is not directly certifiable in the traditional safety-critical model: current implementations are probabilistic and difficult to fully bound, and their black-box operation often lacks the transparency needed to establish trust in how results are produced. AI that replaces engineers complicates traceability, complicates verification, and makes certification more difficult and costly.
The alternative is a trust boundary drawn around the toolchain, not the AI. When AI runs inside a clearly defined, trusted process framework, AI-generated tests, derived requirements, and analysis results can be accepted as certifiable artifacts — provided they are captured, reviewed, traced, verified, and controlled using certified or certifiable tools.
Requirements traceability applies beyond verification and validation, extending to vulnerability analysis, security analysis, and data- and control-flow analysis, with testing planned in parallel with development rather than bolted on at project end.
The adoption question
Vink closes with a forecast: AI's role in automotive software development will only grow, and teams that define its place clearly, implement guardrails, and maintain strict human oversight can automate complex manual tasks to produce more reliable code faster and with less risk. Cloud-scale testing, he adds, can extend validation coverage further.
The open question for OEMs is whether a vertically integrated pipeline — compilation and debug through on-target measurement and certification-evidence collection — becomes a prerequisite for meeting functional-safety deadlines on multicore platforms, or stays a competitive option. The physics of timing coupling will not wait for the answer.
via en.wikipedia.org (Original)
Filed under
More from Olivia Hart
Show full bio
Market editor covering technology and product news in Instruments, test and measurement at Testbench Report.
106 articles
Application notes
- Lattice positions low-power FPGAs as edge AI companion silicon
- Edge AI Reshapes Industrial IoT, Semiconductor Engineering Reports
- Cloud framework ties CNC tool wear monitoring to production scheduling
- Tektronix DPO Oscilloscope Carries EPYC CPU, T1000 GPU, 96GB RAM
- Mirabilis Design Bets on AI and Cloud for Full-System Simulation