aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2021-02-16 15:19:05 +0000
committerRobert Watson <rwatson@FreeBSD.org>2021-02-25 21:38:30 +0000
commitbbcdd9faca55758b228b949f1c1bb41b85e90a8e (patch)
treea1adcd07fbafe9ce762710ab7161a6184df12288 /crypto
parentcf9829d98dc771f9ca0696e493dc3bb635999536 (diff)
downloadsrc-bbcdd9faca55758b228b949f1c1bb41b85e90a8e.tar.gz
src-bbcdd9faca55758b228b949f1c1bb41b85e90a8e.zip
Reimplemen FreeBSD/arm64 dtrace_gethrtime() to use the system timer.
dtrace_gethrtime() is the high-resolution nanosecond timestemp used for the DTrace 'timestamp' built-in variable. The new implementation uses the EL0 cycle counter and frequency registers in ARMv8-A. This replaces a previous implementation that relied on an instrumentation-safe implementation of getnanotime(), which provided only timer resolution. Approved by: re (gjb) Reviewed by: andrew, bsdimp (older version) Useful comments appreciated: jrtc27, emaste Differential Revision: https://reviews.freebsd.org/D28723
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions