-
-
QNX-PulseScope: Live ADAS priority inversion (1,085 us WCET, SLA missed)
-
POSIX Priority Inheritance enabled: WCET drops under 300 us, 0 misses
-
Target Inspector & Saved Snapshots drawer with C11 target bundle download
-
QNX 8.0 IFS Buildfile Auditor with one-click RTOS hardening patch (100/100)
-
MCP AI Bridge exposing QNX RTOS verification tools over JSON-RPC 2.0
-
Interactive 5-lab QNX SDP 8.0 Codelab from mkifs to ClockCycles()
QNX-PulseScope — Real-Time IPC Oscilloscope, IFS Auditor & MCP Bridge
In an automotive braking system or a surgical robot, a single low-priority logging thread can silently block a critical safety loop and cause a catastrophic deadline miss —
QNX-PulseScopelets you see, diagnose, and eliminate priority inversion on QNX Neutrino 8.0 in microseconds.

How It Works in 30 Seconds
| Step | What Happens | QNX 8.0 / AI Technology Used |
|---|---|---|
| 1 · Pick Target Domain | Choose Automotive ADAS (500 µs SLA), Surgical Robotics (250 µs SLA), or Substation IEC-61850 Grid Relay (400 µs SLA). |
Native /dev/pulsescope C11 POSIX Resource Manager (resmgr_attach) |
| 2 · Spot Priority Inversion | Watch a low-priority background thread hold a shared mutex (PTHREAD_PRIO_NONE) and push worst-case latency past the safety ceiling. |
ClockCycles() hardware cycle stamps & 16-byte MsgSendPulse() telemetry |
| 3 · Fix via QNX IPC & MCP | Toggle QNX_MSG_PRIORITY_BOOST / PTHREAD_PRIO_INHERIT to lock latency under budget, audit your .build IFS image, and query live via AI. |
_NTO_CHF_FIXED_PRIORITY, procmgr_ability(), & JSON-RPC /mcp server |
Why Not Just Use printf or Linux perf?
| Capability | printf / slog2info |
Linux perf / ftrace |
QNX-PulseScope |
|---|---|---|---|
| Observer Effect | High (blocks on stdio/IPC) | Moderate (ring-buffer copies) | Zero-Blocking 16-byte MsgSendPulse() |
| Microkernel Primitives | None (logs strings only) | Linux-only (futex, epoll) |
Native QNX ChannelCreate, MsgReceivev, ClockCycles() |
| Priority Inversion Proof | Manual timestamp math | Kernel-specific probes | Live Digital Twin + P50/P95/P99/WCET vs. SLA Ceiling |
| Boot Image Hardening | Manual code review | N/A | Automated .build IFS Auditor + 1-Click Patch |
| AI Coding Agent Bridge | Copy-paste logs into chat | None | Live JSON-RPC /mcp Server (tools/list, tools/call) |
What Happens If Something Goes Wrong?
| Failure Mode | How QNX-PulseScope Handles It |
|---|---|
Priority Inversion / Mutex Starvation (PTHREAD_PRIO_NONE) |
Digital Twin flags DEADLINE MISS DETECTED in crimson, highlights the exact blocking T_LOW/T_MED preemption window, and recommends PTHREAD_PRIO_INHERIT or QNX_MSG_PRIORITY_BOOST. |
Unhardened QNX .build IFS Image |
The IFS Auditor flags missing procnto-smp-instr, missing slogger2, or over-privileged root threads and generates a one-click hardening patch (ASIL-D READY). |
| No Physical QNX Target Attached | Falls back seamlessly to the deterministic QNX 8.0 cycle-accurate engine while still serving the downloadable qnx-pulsescope-target.tar.gz C11 source & qnx800-rpi5-qemu.build for Raspberry Pi 5 / QEMU. |
Step-by-Step Judge Verification (Under 2 Minutes)
- Trigger & Fix a Real-Time Deadline Miss (
20 seconds):- Open https://pulsescope.gilbertcv.com.
- Observe the Automotive ADAS Brake-by-Wire Twin failing its
500 µsSLA underPTHREAD_PRIO_NONE. - Click Enable QNX Priority Inheritance (Fix Now) — watch WCET drop immediately below
500 µswith0deadline misses (HARD REAL-TIME PASS).
- Audit a QNX 8.0
.buildIFS Image (30 seconds):- Click the IFS .build Auditor tab, inspect the findings on an unhardened boot script, and click Apply Hardening Patch to bring the image to
ASIL-D READY.
- Click the IFS .build Auditor tab, inspect the findings on an unhardened boot script, and click Apply Hardening Patch to bring the image to
- Test the Live MCP AI Bridge (
30 seconds):- Click the MCP AI Bridge tab and run
qnx_trace_priority_inversionorqnx_generate_resmgr_skeletonover live JSON-RPC (POST /mcp).
- Click the MCP AI Bridge tab and run
- Explore the 5-Lab Codelab & Target Bundle (
30 seconds):- Open the 5-Lab Codelab tab or click Target Inspector in the top-right to download the C11
/dev/pulsescopetarget bundle (qnx-pulsescope-target.tar.gz).
- Open the 5-Lab Codelab tab or click Target Inspector in the top-right to download the C11
Visual Gallery
| Priority Inheritance Fix | Target Inspector & Downloads |
|---|---|
![]() |
![]() |
IFS .build Image Auditor |
Live MCP AI Bridge (/mcp) |
|---|---|
![]() |
![]() |
Built With
- QNX SDP 8.0 (Neutrino RTOS): C11 Resource Manager (
resmgr_attach),MsgSendv/MsgReceivev/MsgSendPulse,ClockCycles(),procmgr_ability(),.buildIFS - Web & Visualization: TypeScript, React 18, Vite, SVG/Canvas Microsecond Oscilloscope
- AI & Tooling: Model Context Protocol (JSON-RPC
/mcp), Node.js, Docker, Vitest
Built With
- c
- docker
- model-context-protocol
- qemu
- qnx
- raspberry-pi
- react
- rtos
- typescript



