firedancer icon indicating copy to clipboard operation
firedancer copied to clipboard

Implement fd_tickcount for aarch64

Open ripatel-fd opened this issue 1 year ago • 0 comments

Problem

fd_tickcount() falls back to CLOCK_REALTIME on aarch64.

Suggested Fix

Investigate other clock sources on aarch64 that satisfy the criteria for fd_tickcount (monotonically increasing, constant wrt power state, synchronous across CPUs). Maybe cntvct_el0?

ripatel-fd avatar Jan 29 '24 18:01 ripatel-fd