From ffda782c3d88d977acc12a3c2c2738719f9304ed Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Fri, 23 Feb 2024 16:41:44 +0100 Subject: Better handling of Hardware counter for rdtsc emulation (ARM64 only for now), more cpuid leafs, and introduce BOX64_RDTSC env.var. with a profile that use it --- docs/USAGE.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs') diff --git a/docs/USAGE.md b/docs/USAGE.md index 03b1c2fe..0040ac9a 100644 --- a/docs/USAGE.md +++ b/docs/USAGE.md @@ -114,6 +114,12 @@ What to do when a CC INT3 opcode is encounter in the code being run * 0 : Trigger a TRAP signal if a handler is present * 1 : Just skip silently the opcode +#### BOX64_RDTSC * +Will use time-based emulation for rdtsc, even if hardware counter are available. Tick rate of Hardware counter (like on Arm64) might be too low for accurate RDTSC emulation. + * 0 : Use hardware counter if available (depend on architecture basicaly) + * 1 : Use monotonic timer to emulate rdtsc + * 2 : Check frequency of the hardware time (if present), and use hardware if frequency is 1GHz or better or else use mono-tonique time. + #### BOX64_X11GLX * Force libX11's GLX extension to be present. * 0 : Do not force libX11's GLX extension to be present. -- cgit 1.4.1