about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/arc/ucontext-macros.h
diff options
context:
space:
mode:
authorWilco Dijkstra <wilco.dijkstra@arm.com>2021-07-01 15:42:05 +0100
committerWilco Dijkstra <wdijkstr@arm.com>2021-07-01 15:42:05 +0100
commit6a34c928c2ac9fce926b1348d61dae34262e3f77 (patch)
treebc0f927f7d6191b3338d59cc69a64291db993de4 /sysdeps/unix/sysv/linux/arc/ucontext-macros.h
parent252cad02d4c63540501b9b8c988cb91248563224 (diff)
downloadglibc-6a34c928c2ac9fce926b1348d61dae34262e3f77.tar.gz
glibc-6a34c928c2ac9fce926b1348d61dae34262e3f77.tar.xz
glibc-6a34c928c2ac9fce926b1348d61dae34262e3f77.zip
AArch64: Add hp-timing.h
Add hp-timing.h using the cntvct_el0 counter. Return timing in nanoseconds
so it is fully compatible with generic hp-timing. Don't set HP_TIMING_INLINE
in the dynamic linker since it adds unnecessary overheads and some ancient
kernels may not handle emulating cntcvt correctly. Currently cntvct_el0 is
only used for timing in the benchtests.

Reviewed-by: Szabolcs Nagy  <szabolcs.nagy@arm.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/arc/ucontext-macros.h')
0 files changed, 0 insertions, 0 deletions