upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMoonEyes <14891700+MoonEyes@users.noreply.github.com>2026-11-30 11:47:51 +0100
committerMoonEyes <14891700+MoonEyes@users.noreply.github.com>2026-11-30 11:47:51 +0100
commit4e72cc8664f93366535d5fb355e278e54eeb9f25 (patch)
tree847098ea57a3e178b340627c9e877e407a0cc8f6 /docs
parent0568cd62eec7290615ff7a41ef61f1bb5e9e3a38 (diff)
docs: a switch with a value needs it beside LEONIDA_AB
merzleckeier measured on #2708 that LEONIDA_GUARD_HOT and LEONIDA_SKIP_TRY_A stay off on both sides when only LEONIDA_AB names them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/measuring_fps.md17
1 files changed, 12 insertions, 5 deletions
diff --git a/docs/measuring_fps.md b/docs/measuring_fps.md
index fdfe194f1..1a8f902ef 100644
--- a/docs/measuring_fps.md
+++ b/docs/measuring_fps.md
@@ -23,7 +23,12 @@ both sides are measured in one scene, at one cache temperature, beside the same
23 The same goes for every variable of section 5. 23 The same goes for every variable of section 5.
24- More than eight names, or a phase of one second or less, and there is no A/B at all, again without a word. Look for 24- More than eight names, or a phase of one second or less, and there is no A/B at all, again without a word. Look for
25 the `A/B phase` lines in the log. 25 the `A/B phase` lines in the log.
26- A switch named there no longer goes by its own variable. Only switches the code reads that way follow it; for any 26- A plain on/off switch named there goes by the phase instead of its own variable. For a switch with a value or a list
27 the phase only says whether that value counts, so give the value too, in the same `-More`: without
28 `LEONIDA_GUARD_HOT=<ms>` or the hashes of `LEONIDA_SKIP_TRY_A` both sides are off and the A/B compares nothing with
29 nothing. The same goes for another switch it needs (`LEONIDA_PORT_GUARD` for `LEONIDA_GUARD_HOT`). "See the code"
30 under *Kind* in [switches.md](../d3d12/docs/switches.md) is a sign to look there first.
31- Only switches the code reads that way follow it; for any
27 other name the phases are logged and nothing changes, so check the name in [switches.md](../d3d12/docs/switches.md) 32 other name the phases are logged and nothing changes, so check the name in [switches.md](../d3d12/docs/switches.md)
28 or the code before you believe a "no difference". 33 or the code before you believe a "no difference".
29- Not every switch may be turned in play: `findings.md` has one that ends the title (`LEONIDA_ASYNC_SUBMIT`). 34- Not every switch may be turned in play: `findings.md` has one that ends the title (`LEONIDA_ASYNC_SUBMIT`).
@@ -31,10 +36,12 @@ both sides are measured in one scene, at one cache temperature, beside the same
31 idle and busy time a frame and the submitting thread's work a frame. The first second of a phase is left out. 36 idle and busy time a frame and the submitting thread's work a frame. The first second of a phase is left out.
32 37
33Phases of 3.5 to 4 s worked in the runs of `findings.md` (one PC, one save: "about measuring there"). The idle camera 38Phases of 3.5 to 4 s worked in the runs of `findings.md` (one PC, one save: "about measuring there"). The idle camera
34there goes round views of about 24 s with different draw counts, so phases of 15 s measured the views, not the switch. Standing, `findings.md` cuts the phases into stretches where the draw count 39there goes round views of about 24 s with different draw counts, so phases of 15 s measured the views, not the switch.
35jumps, leaves out the first phase of a stretch and fits a level for each stretch; walking, the switch of bit *b* 40
36has runs of 2^*b* phases off and 2^*b* on: each pair of neighbouring runs gives one difference, and their mean is the effect. Give the effect **with its standard error**. The scripts it names for this (`ab_pair.py`, `ab_eff.py`) are not in 41Standing, `findings.md` cuts the phases into stretches where the draw count jumps, leaves out the first phase of a
37the repository. 42stretch and fits a level for each stretch; walking, the switch of bit *b* has runs of 2^*b* phases off and 2^*b* on:
43each pair of neighbouring runs gives one difference, and their mean is the effect. Give the effect **with its standard
44error**. The scripts it names for this (`ab_pair.py`, `ab_eff.py`) are not in the repository.
38 45
39The standard errors in `findings.md` are mostly 0.2 to 0.6 ms for a standing run of some minutes (up to 0.94) and 1 to 46The standard errors in `findings.md` are mostly 0.2 to 0.6 ms for a standing run of some minutes (up to 0.94) and 1 to
402 ms for a walking one (up to 2.24). Two separate 472 ms for a walking one (up to 2.24). Two separate