|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Per-region accumulator returned by ra8_power_profile_get_stats. More...
#include <ra8_power_profile.h>
Data Fields | |
| uint64_t | entries |
| Total number of mark_enter calls for this region. | |
| uint64_t | exits |
| Total number of mark_exit calls for this region. | |
| uint64_t | total_time_us |
| Sum of (exit - enter) over all closed pairs, microseconds. | |
| uint64_t | last_enter_us |
| Timestamp of the most recent unmatched mark_enter. | |
| bool | is_open |
| true if a mark_enter is awaiting a mark_exit. | |
Per-region accumulator returned by ra8_power_profile_get_stats.
Captures everything the profiler tracks per region: how many enter/exit pairs were observed, total time accumulated, and the timestamp / count of any unmatched enter events still in-flight.
Definition at line 146 of file ra8_power_profile.h.
| uint64_t ra8_power_profile_region_stats_t::entries |
Total number of mark_enter calls for this region.
Definition at line 147 of file ra8_power_profile.h.
Referenced by ra8_power_profile_mark_enter().
| uint64_t ra8_power_profile_region_stats_t::exits |
Total number of mark_exit calls for this region.
Definition at line 148 of file ra8_power_profile.h.
Referenced by ra8_power_profile_mark_exit().
| bool ra8_power_profile_region_stats_t::is_open |
true if a mark_enter is awaiting a mark_exit.
Definition at line 151 of file ra8_power_profile.h.
Referenced by ra8_power_profile_mark_enter(), and ra8_power_profile_mark_exit().
| uint64_t ra8_power_profile_region_stats_t::last_enter_us |
Timestamp of the most recent unmatched mark_enter.
Definition at line 150 of file ra8_power_profile.h.
Referenced by ra8_power_profile_mark_enter(), and ra8_power_profile_mark_exit().
| uint64_t ra8_power_profile_region_stats_t::total_time_us |
Sum of (exit - enter) over all closed pairs, microseconds.
Definition at line 149 of file ra8_power_profile.h.
Referenced by pp_demo_format_line(), and ra8_power_profile_mark_exit().