Files
retroSoC/crt/include/retrosoc/hal/perf.h
T
maksyuki c5dfa96c6f feat: refactor NMI to RIB Interface and Update Related Tests
- Replaced instances of nmi_if with rib_if in sysctrl_fault_tb.sv, test_dma.py, test_gpio_user_mux.py, test_memory_map.py, test_performance_log.py, test_script_tools.py, test_sdram.py, test_soc_topology.py, test_sta_constraints.py, and test_user_extensions.py.
- Updated test cases to reflect changes from NMI to RIB, ensuring all references and assertions are consistent with the new interface.
- Adjusted memory map and performance log tests to validate RIB-specific configurations and behaviors.
- Ensured that all relevant file paths and definitions are updated to maintain functionality and correctness across the test suite.
2026-08-02 15:57:08 +08:00

24 lines
478 B
C

#ifndef RETROSOC_HAL_PERF_H
#define RETROSOC_HAL_PERF_H
#include <stdint.h>
#include <retrosoc/core/status.h>
typedef struct {
uint64_t mgmt_wait;
uint64_t user_wait;
uint64_t dma_wait;
uint64_t rib_wait;
uint64_t apb_wait;
uint64_t sdram_wait;
uint64_t psram_wait;
uint64_t flash_wait;
} rs_perf_snapshot_t;
rs_status_t rs_perf_start(void);
rs_status_t rs_perf_stop(void);
rs_status_t rs_perf_snapshot(rs_perf_snapshot_t *snapshot);
#endif