kern: add tracing for irq/scheduling

This commit is contained in:
Michael Scire
2020-08-03 18:11:13 -07:00
committed by SciresM
parent 8e5c0a9663
commit f058536b59
6 changed files with 59 additions and 12 deletions

View File

@@ -31,7 +31,7 @@ namespace ams::kern {
for (size_t i = 0; i < util::size(this->limit_values); i++) {
this->limit_values[i] = 0;
this->current_values[i] = 0;
this->current_hints[i] = 0;
this->current_hints[i] = 0;
}
*/
}
@@ -123,7 +123,7 @@ namespace ams::kern {
if (this->current_values[which] + value <= this->limit_values[which]) {
this->current_values[which] += value;
this->current_hints[which] += value;
this->current_hints[which] += value;
return true;
}