feat: graphing in MTK toolkit, kernel exposes CPU time, Processes app Performance tab

This commit is contained in:
2026-05-02 15:26:59 +02:00
parent e98071e97e
commit 3919d166f7
12 changed files with 553 additions and 11 deletions
+1
View File
@@ -107,6 +107,7 @@ namespace Montauk {
buf[count].name[j] = '\0';
}
buf[count].heapUsed = Sched::g_allocatedPages[i] * 0x1000;
buf[count].cpuTimeMs = proc->cpuTimeMs;
count++;
}
return count;
+1
View File
@@ -407,6 +407,7 @@ namespace Montauk {
uint8_t _pad[3];
char name[64];
uint64_t heapUsed; // heapNext - UserHeapBase (bytes)
uint64_t cpuTimeMs; // accumulated scheduler runtime
};
// Bluetooth scan result (returned by SYS_BTSCAN)