Skip to content

perf_counters: Fix counter resetting to zero

Created by: bluewww

events[i] can be '0 when there is nothing to count but that shouldn't reset the current count.

Fixes https://github.com/openhwgroup/cva6/issues/1542

Merge request reports

Loading