mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-09 11:51:58 -04:00
kern: implement process cpu utilization debug
This commit is contained in:
parent
d090a7886d
commit
4b71e3a87e
2 changed files with 134 additions and 3 deletions
|
@ -279,6 +279,7 @@ namespace ams::kern {
|
|||
constexpr KProcessAddress GetProcessLocalRegionAddress() const { return this->plr_address; }
|
||||
|
||||
void AddCpuTime(s64 diff) { this->cpu_time += diff; }
|
||||
s64 GetCpuTime() { return this->cpu_time; }
|
||||
|
||||
constexpr s64 GetScheduledCount() const { return this->schedule_count; }
|
||||
void IncrementScheduledCount() { ++this->schedule_count; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue