mirror of
https://github.com/valentderah/totk-pc-recomp.git
synced 2026-11-24 21:55:57 +00:00
Add TOTK_CORE_DIAG: classify every virtual core wait by what the owner was doing, and answer SVC 0x36
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f63db636d4
commit
d52cdfc6ee
6 files changed
+308
-4
No files matched your search
@@ -409,6 +409,7 @@ void perf_present(uint64_t frame) {
|
||||
if (rt_trace & RT_TRACE_SCHED) kern_sched_report(frame);
|
||||
uint64_t now = kern_now_ns(), d = last ? now - last : 0;
|
||||
ft_frame(frame, now, d); // d is 0 on the first present: it only starts the period
|
||||
kern_core_diag_frame(frame, d);
|
||||
if (flight_on) flight_frame(frame, now, d, frame_ns, counts);
|
||||
if (!(rt_trace & RT_TRACE_PERF)) {
|
||||
memset(frame_ns, 0, sizeof frame_ns);
|
||||
|
||||
Reference in new issue
Block a user