Page MenuHomeFreeBSD

RISC-V: Implement get_cyclecount(9)
ClosedPublic

Authored by mhorne063_gmail.com on Nov 11 2018, 10:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 28, 6:35 AM
Unknown Object (File)
Mar 14 2024, 1:36 PM
Unknown Object (File)
Mar 13 2024, 10:19 AM
Unknown Object (File)
Feb 14 2024, 11:13 PM
Unknown Object (File)
Feb 3 2024, 7:19 PM
Unknown Object (File)
Jan 27 2024, 4:51 AM
Unknown Object (File)
Jan 24 2024, 4:13 AM
Unknown Object (File)
Dec 29 2023, 12:22 PM
Subscribers

Details

Summary

Add the missing implementation for get_cyclecount(9) on RISC-V by reading the cycle CSR.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Nov 12 2018, 7:11 PM
markj added inline comments.
sys/riscv/include/cpu.h
42 ↗(On Diff #50293)

This could probably be sorted before frame.h.

This revision now requires review to proceed.Nov 13 2018, 3:42 AM
This revision was not accepted when it landed; it landed in state Needs Review.Nov 13 2018, 6:20 PM
This revision was automatically updated to reflect the committed changes.