Skip to content

Commit 6180e28

Browse files
committed
Implement CodeRabbit Feedback
1 parent afca596 commit 6180e28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TargetLibraries/Snitch/src/CycleCounter.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ void StopTimer() {
4141
}
4242
uint32_t const core_id = snrt_global_core_idx();
4343
timer_end[core_id] = read_csr(mcycle);
44-
timer_end[core_id] = read_csr(minstret);
44+
instr_end[core_id] = read_csr(minstret);
4545
running[core_id] = 0;
4646
}
4747

0 commit comments

Comments
 (0)