The Renesas Tracing and Profiling Tools Extension for VS Code empowers developers to analyze system behavior and application performance during bare-metal debugging with the Renesas E2 Emulator.
With integrated monitoring, tracing, and profiling capabilities, the extension simplifies performance tuning and system diagnostics.
The Real-Time Performance Monitor View enables users to monitor processor and system behavior in real time during program execution.
Key Features:
PMU (Performance Monitoring Unit) Monitor: Access hardware event counters to track key metrics such as:
- Instruction cycles: Measure instruction throughput and detect bottlenecks.
- Exceptions: Identify abnormal runtime behavior to improve system reliability.
- Memory accesses: Analyze memory traffic and locate performance hotspots.
- Cache hit ratios: Evaluate instruction fetch efficiency using L1/L2 cache access and refill events.
RAM and IO Monitor: Observe memory and register values in real time. Captured data can be visualized directly or used in custom arithmetic equations for deeper analysis.
Display Modes: Choose from the following modes:
- Normal mode: Stores data in emulator RAM and displays it after recording.
- Real-time mode: Streams data continuously to your PC via USB for live monitoring during execution.
- Playback mode: Replays collected waveform data at a specified speed.
Equation-Based Analysis: Combine and calculate RAM/IO data using custom formulas for advanced performance analysis.
Waveform Visualization: Display monitored or calculated data in waveform format for easier analysis.
Data Import and Export: Export monitoring data to CSV files and reload saved sessions for offline analysis and data sharing.
Available Commands:
The following commands can be accessed through the Command Palette (Ctrl/Cmd+Shift+P):
- Renesas: Open Realtime Performance Monitor: Open Real-time Performance Monitor View.
- Renesas: Close Realtime Performance Monitor: Close Real-time Performance Monitor View.
Supported Target Devices:
The Real-time Performance Monitor View supports the following Renesas devices:
- R-Car S4
- R-Car V4H
- R-Car V4M
Profile View
The Profile View provides function-level profiling analysis based on execution trace data.
Key Features:
- Display function profiling data from trace records, analyzing each function’s behavior during execution.
- Display detailed profiling information, including:
- Function name
- Function address
- Execution count
- Total execution time
- Average execution time
- Max execution time
Available Commands:
The following commands can be accessed through the Command Palette (Ctrl/Cmd+Shift+P):
- Renesas: Open Profile: Open Profile View.
Supported Target Devices:
The Profile View supports the following Renesas devices:
- RX
- RL78
- RH850
- R-Car S4
- R-Car V4H
- R-Car V4M
Additional views and analysis features may be added in future releases.
For information on how to use the Renesas VS Code Extensions, please visit here.