README: document XCL_WATCH_HOT #3782

Open
romeawayfromhome-rgb wants to merge 1 commit from upstream-pr/3782 into main
romeawayfromhome-rgb commented 2026-12-03 09:43:51 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by romeawayfromhome-rgb on 2026-12-03T09:43:51Z.


Documents XCL_WATCH_HOT, which is read in crates/xcl/src/hle/d3d12x/title_textures.rs but was not mentioned in the README switches list.

  • This change does not use code, signatures or documentation from leaked or NDA-only SDKs.

What is in it

  • README.md: add an XCL_WATCH_HOT=0 bullet to the "Switches for how a title runs" sub-list, after the XCL_WAIT_TIMEOUT_MS bullet.

Tested

  • Not built or tested: this change was prepared on a Linux VM, and XCL builds/runs on Windows only.
  • Verified against main at 16c2fd0: hot_looks() is on unless the trimmed value is 0; by default a look takes only the 2 MiB blocks written recently while a walk thread marks a block hot when it finds a written page there, and with =0 every look walks all the watched memory. In that tree the variable name appears only in title_textures.rs; the README on main and amd-dev has no mention of it.

Regression run

  • Not applicable: README-only change; no runtime code changed.

Not tested

  • Windows build, GPU test suite, and title runs were not run for this docs-only change.

AI use

  • Muse Spark via Muse found the undocumented variable, drafted the README bullet, and wrote this description. No code was changed.
<!-- greyfinch-sync:ivall/xcl:issue:5623932022 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3782). Originally posted by [romeawayfromhome-rgb](https://github.com/romeawayfromhome-rgb) on 2026-12-03T09:43:51Z. --- Documents `XCL_WATCH_HOT`, which is read in `crates/xcl/src/hle/d3d12x/title_textures.rs` but was not mentioned in the README switches list. - [x] This change does not use code, signatures or documentation from leaked or NDA-only SDKs. **What is in it** - `README.md`: add an `XCL_WATCH_HOT=0` bullet to the "Switches for how a title runs" sub-list, after the `XCL_WAIT_TIMEOUT_MS` bullet. **Tested** - Not built or tested: this change was prepared on a Linux VM, and XCL builds/runs on Windows only. - Verified against `main` at `16c2fd0`: `hot_looks()` is on unless the trimmed value is `0`; by default a look takes only the 2 MiB blocks written recently while a walk thread marks a block hot when it finds a written page there, and with `=0` every look walks all the watched memory. In that tree the variable name appears only in `title_textures.rs`; the README on `main` and `amd-dev` has no mention of it. **Regression run** - Not applicable: README-only change; no runtime code changed. **Not tested** - Windows build, GPU test suite, and title runs were not run for this docs-only change. **AI use** - Muse Spark via Muse found the undocumented variable, drafted the README bullet, and wrote this description. No code was changed.
Foniass commented 2026-12-03 09:44:59 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-03T09:44:59Z.


Review of 3543f50c (code reading only, not a merge-check; draft) · 1 nit

In short: This replaces #3780, which is closed. The bullet now starts at 2 spaces like the other switches, but its second line is still indented 6 spaces and its third 4. The text matches hot_looks on main.

Nit

  1. One continuation line is indented 6 spaces. In README.md ~357 the second line ("memory, as before. ...") has 6 spaces, and the third has 4. The bullets around it use 4 for every continuation line.
Checked and fine
  • The bullet is in the "Switches for how a title runs" sub-list, after XCL_WAIT_TIMEOUT_MS.
  • It matches hot_looks and the hot-block walk (title_textures.rs ~1474-1486). Off only for 0. By default a look takes the hot 2 MiB blocks, and a thread walks the rest.

Written by Claude Code (Claude Opus 5.5) and posted by Foniass without a human check of each point.

<!-- greyfinch-sync:ivall/xcl:comment:7374170375 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3782#issuecomment-7374170375). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-03T09:44:59Z. --- **Review** of `3543f50c` (code reading only, not a merge-check; draft) · 1 nit **In short:** This replaces #3780, which is closed. The bullet now starts at 2 spaces like the other switches, but its second line is still indented 6 spaces and its third 4. The text matches `hot_looks` on `main`. #### Nit 1. **One continuation line is indented 6 spaces.** In `README.md` ~357 the second line ("memory, as before. ...") has 6 spaces, and the third has 4. The bullets around it use 4 for every continuation line. <details><summary>Checked and fine</summary> - The bullet is in the "Switches for how a title runs" sub-list, after `XCL_WAIT_TIMEOUT_MS`. - It matches `hot_looks` and the hot-block walk (`title_textures.rs` ~1474-1486). Off only for `0`. By default a look takes the hot 2 MiB blocks, and a thread walks the rest. </details> <sub>Written by Claude Code (Claude Opus 5.5) and posted by Foniass without a human check of each point.</sub>
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/3782:upstream-pr/3782'
git switch 'upstream-pr/3782'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/3782'
git switch 'upstream-pr/3782'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/3782'
git switch 'upstream-pr/3782'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/3782'
git switch 'main'
git merge --squash 'upstream-pr/3782'
git switch 'main'
git merge --ff-only 'upstream-pr/3782'
git switch 'main'
git merge 'upstream-pr/3782'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!3782
No description provided.