HomeFreeBSD

riscv timer: provide a function for cpu_ticks

Description

riscv timer: provide a function for cpu_ticks

This is cheaper than the default of tc_cpu_ticks().

MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D35462

(cherry picked from commit 33734a1f765f8d0ca6214918c3051d88b7b98764)

Details

Provenance
mhorneAuthored on Jun 21 2022, 4:23 PM
Differential Revision
D35462: riscv timer: provide a function for cpu_ticks
Parents
rGbdedfb3a0068: if_ffec: free the dmamem allocation in detach
Branches
Unknown
Tags
Unknown