README: document XCL_WATCH_HOT #3780

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

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


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:5623450398 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3780). Originally posted by [romeawayfromhome-rgb](https://github.com/romeawayfromhome-rgb) on 2026-12-03T09:12:52Z. --- 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:15:04 +00:00 (Migrated from github.com)

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


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

In short: The PR adds an XCL_WATCH_HOT=0 bullet to the README switches list. The text matches hot_looks and the hot-block walk in title_textures.rs on main. The indentation is off, so the bullet does not render as one of the switches. Nothing else.

Nit

  1. The bullet is indented 6 spaces, and its continuation lines unevenly. - XCL_WATCH_HOT starts with 6 spaces (README.md ~356), where the other switches start with 2 ( -). The second line also has 6 and the third 4. Markdown renders that as a list nested under the previous bullet, or as code. Use - for the bullet and 4 spaces for each continuation line, like XCL_WAIT_TIMEOUT_MS above it.
Checked and fine
  • hot_looks (title_textures.rs ~1481) is on unless the variable is 0 after trimming, so "=0: ... as before" and the default are right.
  • A look takes only the hot 2 MiB blocks (HOT_BLOCK ~1486). A thread of its own walks the rest and makes a block hot when it finds a written page, which matches "a thread walks the rest and marks a block hot".
  • "Written recently" is hot_for(), 1500 ms unless XCL_WATCH_HOT_MS is set; the bullet need not give the number.
  • One commit with a README: subject. No other open PR documents this variable.

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

<!-- greyfinch-sync:ivall/xcl:comment:7373390958 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3780#issuecomment-7373390958). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-03T09:15:04Z. --- **Review** of `dd3b48f5` (code reading only, not a merge-check; draft) · 1 nit **In short:** The PR adds an `XCL_WATCH_HOT=0` bullet to the README switches list. The text matches `hot_looks` and the hot-block walk in `title_textures.rs` on `main`. The indentation is off, so the bullet does not render as one of the switches. Nothing else. #### Nit 1. **The bullet is indented 6 spaces, and its continuation lines unevenly.** ` - XCL_WATCH_HOT` starts with 6 spaces (`README.md` ~356), where the other switches start with 2 (` - `). The second line also has 6 and the third 4. Markdown renders that as a list nested under the previous bullet, or as code. Use ` - ` for the bullet and 4 spaces for each continuation line, like `XCL_WAIT_TIMEOUT_MS` above it. <details><summary>Checked and fine</summary> - `hot_looks` (`title_textures.rs` ~1481) is on unless the variable is `0` after trimming, so "`=0`: ... as before" and the default are right. - A look takes only the hot 2 MiB blocks (`HOT_BLOCK` ~1486). A thread of its own walks the rest and makes a block hot when it finds a written page, which matches "a thread walks the rest and marks a block hot". - "Written recently" is `hot_for()`, 1500 ms unless `XCL_WATCH_HOT_MS` is set; the bullet need not give the number. - One commit with a `README:` subject. No other open PR documents this variable. </details> <sub>Written by Claude Code (Claude Opus 5.5) and posted by Foniass without a human check of each point.</sub>

Pull request closed

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!3780
No description provided.