mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
get_counts() doesn't do anything at the moment but return the result of
get_cycles(), so remove it.
For clarity, rename get_cycles() to get_timecount(); RISC-V defines
separate time and cyclecount CSRs, so let's avoid confusing the two.
They may be backed by the same underlying clock, but this is an
implementation detail.
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D35461
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| allwinner | ||
| conf | ||
| include | ||
| riscv | ||
| sifive | ||