diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-02-23 16:41:44 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-02-23 16:41:44 +0100 |
| commit | ffda782c3d88d977acc12a3c2c2738719f9304ed (patch) | |
| tree | a0e1893fb28090c4f0f2a26c7a67bb40ae71f6b5 /docs | |
| parent | 3a6df996dc85257a5496ecb28a72579df225a176 (diff) | |
| download | box64-ffda782c3d88d977acc12a3c2c2738719f9304ed.tar.gz box64-ffda782c3d88d977acc12a3c2c2738719f9304ed.zip | |
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
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/USAGE.md | 6 |
1 files changed, 6 insertions, 0 deletions
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. |