Against the recompiled code

The renderer's first present and every 600 after log what the game's threads cost the host (runtime/guest_stats.c), the same whichever way the code runs, so runs with nce=1 and nce=0 (each recompiled with its value) over one scene compare window by window. cpu: gives the game's threads' time on the host's processors, in all, per present and for the busiest, beside the whole process's (native code changes the first; the frame rate only when the processors set it), then the SVCs by number and the calls the dispatch table had no code for (RtAPI.miss). Under NCE, nce: gives the outcalls by kind (SVC, a hooked function's by family, a native run's return), the counter reads that their stubs made with no outcall, the native runs started and the kicks: an outcall saves and loads the guest's registers, and a run or a kick is a signal. Each thread adds to counters of its own, with no lock.


Made from docs/platforms/nx/nce.md at 69237645142c. GPL-3.0-or-later.