Make profiler report RSP, RDP and thread timing accurately

This commit is contained in:
Ryan Dwyer
2023-05-01 18:48:04 +10:00
parent 502f88dddb
commit b18d1259fe
7 changed files with 152 additions and 47 deletions
+2
View File
@@ -78,6 +78,8 @@ typedef struct OSThread_s {
OSId id; /* id for debugging */
int fp; /* thread has used fp unit */
__OSThreadContext context; /* register/interrupt mask */
u32 cycles_saved;
u32 cycles_at_dispatch;
} OSThread;