README: document XCL_WATCH_HOT #3780
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3780"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ivall/xcl. Originally posted by romeawayfromhome-rgb on 2026-12-03T09:12:52Z.
Documents
XCL_WATCH_HOT, which is read incrates/xcl/src/hle/d3d12x/title_textures.rsbut was not mentioned in the README switches list.What is in it
README.md: add anXCL_WATCH_HOT=0bullet to the "Switches for how a title runs" sub-list, after theXCL_WAIT_TIMEOUT_MSbullet.Tested
mainat16c2fd0:hot_looks()is on unless the trimmed value is0; 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=0every look walks all the watched memory. In that tree the variable name appears only intitle_textures.rs; the README onmainandamd-devhas no mention of it.Regression run
Not tested
AI use
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 nitIn short: The PR adds an
XCL_WATCH_HOT=0bullet to the README switches list. The text matcheshot_looksand the hot-block walk intitle_textures.rsonmain. The indentation is off, so the bullet does not render as one of the switches. Nothing else.Nit
- XCL_WATCH_HOTstarts 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, likeXCL_WAIT_TIMEOUT_MSabove it.Checked and fine
hot_looks(title_textures.rs~1481) is on unless the variable is0after trimming, so "=0: ... as before" and the default are right.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".hot_for(), 1500 ms unlessXCL_WATCH_HOT_MSis set; the bullet need not give the number.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.
Pull request closed